Skip to content

Instantly share code, notes, and snippets.

@fmal
Created November 4, 2012 14:31
Show Gist options
  • Select an option

  • Save fmal/4012134 to your computer and use it in GitHub Desktop.

Select an option

Save fmal/4012134 to your computer and use it in GitHub Desktop.
Ruby 1.8.7 on OS X 10.8 Mountain Lion
# Install homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
# Install command line tools for Xcode -- requires free Apple ID
http://developer.apple.com/downloads
# Install requirements
brew update
brew tap homebrew/dupes
brew install autoconf automake apple-gcc42 rbenv ruby-build
CC=/usr/local/bin/gcc-4.2 && CONFIGURE_OPTS="--without-tcl --without-tk --enable-shared" rbenv install 1.8.7-p370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment