Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2013 04:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4490506 to your computer and use it in GitHub Desktop.
Save anonymous/4490506 to your computer and use it in GitHub Desktop.
How to install ruby 1.8.7 on Mountain Lion
Following these instructions got me closer:
http://rors.org/2011/10/25/compiling-ruby-on-a-fresh-lion-install
Really it needed:
# brew install readline
# brew install apple-gcc42
Finally point to readline, and disable tcl/tk
# CC=gcc-4.2 CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline) --without-tcl --without-tk" rbenv install 1.8.7-p371
@cloudshark
Copy link

Ooops. I created this, but wasn't logged in when I did it I guess.

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