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 -O chruby-0.3.4.tar.gz https://github.com/postmodern/chruby/archive/v0.3.4.tar.gz | |
tar -xzvf chruby-0.3.4.tar.gz | |
cd chruby-0.3.4 | |
PREFIX=$HOME/chruby make install | |
echo 'source ~/chruby/share/chruby/chruby.sh' >> ~/.bash_login | |
git clone git://github.com/sstephenson/ruby-build.git ~/chruby-0.3.4/ruby-build | |
cd ~/chruby-0.3.4/ruby-build | |
PREFIX=$HOME/chruby ./install.sh | |
~/chruby/bin/ruby-build 2.0.0-p0 ~/.rubies/2.0.0-p0 | |
echo 'chruby 2.0.0-p0' >> ~/.bash_login |