Installing JRuby on Mac OS X Leopard
1. Get a copy of JRuby. I got the 1.1.2 (latest as of this writing) from http://dist.codehaus.org/jruby/
2. unzip it and put it somewhere. I put it in /Applications/jruby-1.1.2/
3. configure your shell environment. Edit your .bashrc and add JRUBY_HOME=/Applications/jruby-1.1.2 and then add JRUBY_HOME/bin to your path. This will end up looking something like this:
JRUBY_HOME=/Applications/jruby-1.1.2
export PATH="$PATH:$JRUBY_HOME/bin"
4. open up a terminal. Now that jruby is on your path, you should be able to do issue a “jruby –version” to tell you the version - this is a sanity check.
That’s it - pretty much just like installing any java jar.
