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