Skip to content

Instantly share code, notes, and snippets.

@joshua
Created April 3, 2013 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshua/5300978 to your computer and use it in GitHub Desktop.
Save joshua/5300978 to your computer and use it in GitHub Desktop.
Install RVM on Mac OS X

Install Apple Developer Tools (xcode + cli)

Install Homebrew:

http://mxcl.github.com/homebrew/

Once homebrew is installed you need install gcc42:

# brew tap homebrew/dupes
# brew install apple-gcc42

Add this line to your ~/.profile:

export CC=/usr/local/bin/gcc-4.2

Then run:

# sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2

Then reinstall RVM:

https://rvm.io/

Then you can install what ever version of ruby you need:

# rvm install 1.9.3

You can run rvm requirements and it will search for missing dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment