Created
February 3, 2016 09:34
-
-
Save silviorelli/ad8e1d80bdc0245eb7e7 to your computer and use it in GitHub Desktop.
Install Ruby 1.8.7 on Mac OSX 10.11 El Capitan with rbenv
This file contains 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
brew install apple-gcc42 openssl libyaml libffi | |
xcode-select --install | |
export CC=/usr/local/bin/gcc-4.2 | |
export CFLAGS='-g -O2' | |
export RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` | |
export CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` | |
rbenv install 1.8.7-p375 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment