Path: | INSTALL |
Last Update: | Thu Aug 21 13:54:38 -0600 2008 |
There are precompiled binary gems available for Windows, so the installation is as simple as typing the following and selecting the newest mswin32 gem:
gem install id3lib-ruby
For other systems, there is a RubyGems package or a compressed archive.
Before installing id3lib-ruby, you need to install the underlying id3lib library and, depending on your system, set CONFIGURE_ARGS.
Install libid3-dev and be sure to have ruby1.8-dev installed, otherwise you won‘t be able to build Ruby extensions.
sudo aptitude install libid3-dev
sudo emerge -n id3lib
Install id3lib4-dev:
sudo apt-get install id3lib4-dev
Fink puts the library and header files in /sw. In order to enable the id3lib-ruby install program to find them, do:
export CONFIGURE_ARGS="--with-opt-dir=/sw"
Download, compile and install id3lib. When installing in /usr/local, you have to set CONFIGURE_ARGS:
export CONFIGURE_ARGS="--with-opt-dir=/usr/local"
Now you‘re ready to install id3lib-ruby. If you use RubyGems, run the following and select the newest version marked "ruby":
sudo gem install id3lib-ruby
Or if you install from the archive, unpack it and do:
sudo ruby setup.rb