Skip to content

Instantly share code, notes, and snippets.

@jmcnevin
Created April 30, 2012 14:48
Show Gist options
  • Save jmcnevin/2558928 to your computer and use it in GitHub Desktop.
Save jmcnevin/2558928 to your computer and use it in GitHub Desktop.
Installing REE with RVM, Homebrew, XCode 4.3+ on OS X Lion
# Rather than going nuclear and downgrading Xcode or using some other big GCC installer,
# this worked for me...
# From https://github.com/mxcl/homebrew/wiki/Custom-GCC-and-cross-compilers
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
# Path may vary slightly...
export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2
# If you've attempted to install REE previously and it failed...
rvm remove ree
# Finally...
rvm install ree --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment