How To Install Ruby 2.0 With RVM
This weekend, I’m ready to try out Ruby 2.0 and Rails 4. Exciting, right?! Well, not that fast. Installing both of these is more complicated than I thought. So let’s start with installing Ruby 2.0.
This is what I did first:
$ rvm install 2.0.0-p0
Stuff started happening, so I got excited. It’s working! I thought.
Well, in my excitement I completely ignored that what was being installed was rbx, NOT ruby!
This is how you actually install Ruby 2.0:
rvm install ruby-2.0.0-p0
Finally, a success!
Update
To install ruby 2.0 with open SSL, run the following command:
$ rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr