RubyInline Link Errors on Leopard

By Tim Kofol

Published: November 4th, 2007

For those of you who have upgraded to OS X Leopard and tried to use RubyInline. You might have been greeted with lots of Compliation Errors.

Well after a couple hours of googling, i found the solutions here.

Turns out Ruby built on Leopard is built without the compilation flag saying ignore missing symbols when linking.

The temporary hack to fix it, is to go into the RubyInline gem directory and find lib/inline.rb file and change the line that looks like this


flags = @flags.join(' ')

to this


flags = @flags.join(' ') + ' -lruby'

Now everything should work. Hopefully the next RubyInline version will fix this problem, so I don’t have to hack it again.

1 Comment on this article

  1. Now I am not sure what a RubyInLine is but I'm not that techy. I am more interested in how you feel about the new operating system as a whole. Does it rock or is it wack?

Sorry, comments are closed for this article.