Skip to content
MarkBennett edited this page Mar 9, 2011 · 23 revisions

Installing Ruby on OSX

The Ruby Version Manager, or RVM, is by far the best way to install Ruby on your Apple computer. RVM allows you to quickly install multiple versions of Ruby on your computer and can be installed with one command:

bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

If you run into problems consult their detailed RVM installation guide.

After you've installed RVM, you can install Ruby 1.9.2 with:

rvm install 1.9.2

This will download the source code for Ruby, compile and install it. Be prepared to wait a few minutes if you're using a slower computer. That's it, you're ready to go!

Installing Ruby on Ubunutu Linux

Installing Ruby on Windows

Installing Ruby on Windows used to be a challenge, however there any now two excellent options that make this process painless.

Note that one of the jRuby installers also includes Java if you don't have it already installed.