Skip to content

Instantly share code, notes, and snippets.

@drakmail
Created May 3, 2013 06:22
Show Gist options
  • Save drakmail/5507520 to your computer and use it in GitHub Desktop.
Save drakmail/5507520 to your computer and use it in GitHub Desktop.
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
source ~/.bash_login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment