Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just got a Macbook laptop that is running 10.6.3 AKA "Snow Leopard".

I know it comes with Ruby 1.8.7 and Rails 2.3, but I was wondering what the best way is to update those to Ruby 1.9.2 and Rails 3?

share|improve this question

migrated from Jan 10 '12 at 12:07

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

Try using Homebrew and/or RVM

RVM allows you tO have several versions of ruby installed if you want.

Homebrew is a nice package manager for Os X.

share|improve this answer

First, don't update the built-in Ruby. Apple put it there for their use. If you want to piggy-back on it without changes, that's fine. If you make changes you run the risk of affecting apps that expect it to be at the standard Apple-installation version.

Instead, I recommend RVM for installing a separate version of Ruby for your own use. RVM makes it easy to manage and works very well. I have it on my personal laptop, my work Mac Pro, and a bunch of Linux machines.

Once you have a Ruby installed under RVM's control you can install, update and delete gems without affecting the built-in Ruby. You can install multiple versions of Ruby and of gemsets, switching back and forth quickly and easily.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.