gem install rjb on mac os x leopard

Published: 02 Feb 2008

If you've tried installing the rjb 1.1.x gem on Mac OS X Leopard, you will probably end up with an error like:

lipo: can't open input file: /var/tmp//ccpyNy8b.out (No such file or directory)
make: *** [load.o] Error 1

In order to get around this you have to run the following commands:

sudo su -
export JAVA_HOME='/System/Library/Frameworks/JavaVM.framework/Home'
gem install rjb