-
-
Save proudlygeek/2601418 to your computer and use it in GitHub Desktop.
Ruby 1.9.3 with readline and libyaml under rbenv
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
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