As far as I can tell, the best feature of rvm is it's use of per-directory dotfiles.
Once you've installed a version of ruby, you can set rvm to use that version whenever you are running scripts from that project directory. from the docs: http://rvm.beginrescueend.com/workflow/rvmrc/ echo "rvm r...@projectb" > ~/projects/projectb/.rvmrc echo "rvm 1....@projectc" > ~/projects/projectc/.rvmrc -- Graeme Worthy On Sun, Sep 26, 2010 at 7:14 PM, Rob Kaufman <[email protected]> wrote: > > +1 to rvm use. > > Rob > > On Sat, Sep 25, 2010 at 13:21, James Miller <[email protected]> wrote: >> >> You should be using RVM to manage your rubies on Mac OS X. >> http://rvm.beginrescueend.com >> 1.9.2 is definitely the version to use with Rails 3 (1.8.7 is also >> supported). You can easily install multiple versions of Ruby with RVM (MRI, >> REE, Rubinius, JRuby, MacRuby, etc) and switch between them at any time. >> James >> >> On Sat, Sep 25, 2010 at 11:15 AM, Unnsse Khan <[email protected]> wrote: >>> >>> Hello there, >>> >>> I've been coding in Ruby, on and off, for sometime now... >>> >>> Am using Mac OS X Snow Leopard (10.6.4) and ruby 1.8.7 (2009-06-12 >>> patchlevel 174) [i686-darwin10]. >>> >>> Was having trouble finding the binary for ruby 1.9.2 for Snow Leopard on >>> main ruby website. >>> >>> I know I can install it via MacPorts but I would have preferred a DMG file. >>> >>> Question(s): >>> >>> (1) Is Ruby 1.9.2 the right version to use with Rails 3.0? >>> >>> (2) If I also opt to install MacRuby is it easy to switch between both by >>> using a global system environmental variable? >>> >>> (3) Should I be using the Ruby on Rails Enterprise Edition instead? >>> >>> Happy programming, >>> >>> Unnsse >>> >>> -- >>> SD Ruby mailing list >>> [email protected] >>> http://groups.google.com/group/sdruby >> >> -- >> SD Ruby mailing list >> [email protected] >> http://groups.google.com/group/sdruby > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
