RVM : Ruby Version Manager : A Complete Guide
Install RVM bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) Show all rubies and gemsets rvm list gemsets Upgrade to the latest version of rvm from github rvm update --head Ruby on Rails 3 Tutorial says to follow this with rvm reload rvm install 1.8.7 rvm install 1.9.2 and, if you need a patchlevel, do something like rvm install 1.8.7-p174 Install a given version of ruby rvm install 1.9.2 If this fails with compiler errors, you may need to install some packages. rvm package install openssl rvm package install readline rvm package install iconv rvm install 1.9.2 --with-openssl-dir=$HOME/.rvm/usr \ --with-readline-dir=$HOME/.rvm/usr \ --with-iconv-dir=$HOME/.rvm/usr On Mac, you may need to install some libraries via MacPorts. sudo port install ncurses sudo port install libyaml sudo port install zlib rvm install 1.9.2 --with-libyaml-dir=/opt/loca