Install id3lib-ruby on Snow Leopard

Warning: I consider this tutorial outdated. Please switch to a better system like brew.

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
$1.99 domains with SSL purchase!

2 thoughts on “Install id3lib-ruby on Snow Leopard

  1. 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

  2. try the following:

    sudo env ARCHFLAGS=”-arch x86_64″ gem install id3lib-ruby — –with-opt-dir=/opt/local/

    it worked for me

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">