Skip to content

Instantly share code, notes, and snippets.

@kylessnell
Created October 3, 2012 03:16
Show Gist options
  • Save kylessnell/3824752 to your computer and use it in GitHub Desktop.
Save kylessnell/3824752 to your computer and use it in GitHub Desktop.
How to change your compiler to install versions of Ruby prior to 1.9.3 on OSX Lion
Step 1: brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
Step 2: brew install apple-gcc42
Step 3: CC=/usr/local/bin/gcc-4.2 rvm install 1.8.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment