Skip to content

Instantly share code, notes, and snippets.

@proudlygeek
Forked from lest/gist:1517325
Created May 5, 2012 10:34
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 proudlygeek/2601418 to your computer and use it in GitHub Desktop.
Save proudlygeek/2601418 to your computer and use it in GitHub Desktop.
Ruby 1.9.3 with readline and libyaml under rbenv
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