1Nov/092
Install id3lib-ruby on Snow Leopard
We are going to use MacPorts for this.
Install the prerequisite:
sudo port install id3lib
And install the 64-bit gem:
env ARCHFLAGS="-arch x86_64" gem install id3lib-ruby
Test:
16:53 ~ $ irb >> require 'id3lib' => true
Related posts:
- How to install pg (postgresql) gem on Snow Leopard, 64 bit
- Install nokogiri and libxml2 on Snow Leopard
- Install MySQL and MySQL Ruby gem on Snow Leopard, 64 bit
- do_sqlite3 on Snow Leopard
- Installing MySQL Ruby Gem in Snow Leopard Server
Enjoy this article?
Additional comments powered by BackType
January 13th, 2010 - 23:04
NOT WORK!
checking for id3.h… no
id3.h is in /opt/local/include
with options –with-opt-include same result => cannot find id3.h
April 1st, 2010 - 19:14
try the following:
sudo env ARCHFLAGS=”-arch x86_64″ gem install id3lib-ruby — –with-opt-dir=/opt/local/
it worked for me