Skip to content

Instantly share code, notes, and snippets.

@sbose78
Created April 10, 2015 12:40
Show Gist options
  • Save sbose78/7abe48eef896b560b674 to your computer and use it in GitHub Desktop.
Save sbose78/7abe48eef896b560b674 to your computer and use it in GitHub Desktop.
ruby200
sudo apt-get -y update
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz
tar -xvzf ruby-2.0.0-p481.tar.gz
cd ruby-2.0.0-p481/
./configure --prefix=/usr/local
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment