Created
December 24, 2011 13:22
-
-
Save lest/1517325 to your computer and use it in GitHub Desktop.
Ruby 1.9.3 with readline and libyaml under 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
wget "ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz" | |
tar xf readline-6.2.tar.gz | |
cd readline-6.2 | |
./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125 | |
make -j 2 | |
make install | |
cd .. | |
wget "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" | |
tar xf yaml-0.1.4.tar.gz | |
cd yaml-0.1.4 | |
./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125 | |
make -j 2 | |
make install | |
cd .. | |
wget "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz" | |
tar xf ruby-1.9.3-p125.tar.gz | |
cd ruby-1.9.3-p125 | |
./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125 --with-opt-dir=$HOME/.rbenv/versions/1.9.3-p125 --with-readline-dir=$HOME/.rbenv/versions/1.9.3-p125 --disable-install-doc | |
make -j 2 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CONFIGURE_OPTS=--with-openssl-dir=
brew --prefix openssl
rbenv install 2.0.0-preview1