On Sat, Oct 16, 2010 at 1:10 PM, John S. [email protected] wrote:
In all honesty, use rvm (http://rvm.beginrescueend.com/).
It takes a little getting used to if you aren’t that familiar with Unix,
after you figure out how it works, it is really nice. You can install
the rubies (how I got jruby, macruby, rubinius, MRI 1.8.6, 1.8.7, 1.9.1,
1.9.2) Then it is just “$ rvm use 1.9.1” to switch to that one. Drop
your ~/.profile (or ~/.bash_profile if you’re on Leopard) and it will
use that version. Takes a little more work to set it up with your
but not too bad for TextMate (just set an environment variable in TM,
add 1 line to your profile)
Also lets you set up specific versions for specific projects, and even
specific sets of gems for that project, so its gems are segregated from
rest of the system. Manages switching rubies and gems for you when you
into and out of these project directories.