How to install rbcdio on OS X Leopard

written by Rahvin on October 17th, 2008 @ 11:47 AM

After fighting with it for about half an hour, here is how you get the rbcdio gem working on OS X Leopard with the libcdio library installed from MacPorts.

First you have to install libcdio using MacPorts, this is the easy part:

sudo port install libcdio

This will install libcdio and libcddb, after this you can install the rbcdio gem using the following command. This is actually as easy as the previous command, after you find out you have to pass the include path.

sudo gem install rbcdio -- --with-opt-include=/opt/local/include/

Now add the following to your environment.rb

config.gem 'rbcdio', :lib => 'cdio'
config.gem 'rbcdio', :lib => 'iso9660'

And thats it.

Post a comment

Options:

Size

Colors