$ rvm get stable
NOTE: The reason why I brew installed the following packages is because running $ rvm install ruby-2.0.0
didn't seem to work for me. It broke when trying to install these packages, so I installed them manually then installed Ruby.
-
$ brew install libyaml
$ brew install libxml2
$ brew install libxslt
$ brew install libksba
-
$ rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr --verify-downloads 1
-
verify successful installation:
$ rvm list rubies
-
I then created a gemset for my solo project (optional):
$ mkdir myRails32app
$ cd myRails32app
$ rvm use ruby-2.0.0@myRails32app --ruby-version --create
$ gem install rails --version=3.2.13
$ rails new .
Source: http://railsapps.github.io/installing-rails.html
Section: New projects with Rails 3.2 and Ruby 2.0 (rails 3.2 is the most recent release of Rails patched to work with Ruby 2.0)