Created
November 4, 2012 14:31
-
-
Save fmal/4012134 to your computer and use it in GitHub Desktop.
Ruby 1.8.7 on OS X 10.8 Mountain Lion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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