How to Install Ruby 1.9.3 for Mac OSX 10.8+ with MacPorts and RVM

Posted on September 30, 2013

Need to install Ruby 1.9.3 with RVM on Mac OSX? Here is a very clean and simple procedure to get it working using MacPorts. Special thanks to Calvin's design and hacks blog for this awesome guide.


Before we start

Make sure you install the following:

The Code

Run the following commands from your OSX terminal


Seriously. Reboot.

Install RVM

Setting and testing the Default RVM

I ran into a situation where my RVM was trying to use a different version of Ruby. In order to confirm that we're using the right version, it's safer to set the default.

Test it with the following

Leave a Reply

Your email address will not be published.

Contact Us

Have a question? Send us a message. We'll get back to you soon.