Skip to content

Instantly share code, notes, and snippets.

@bbonamin
Created December 10, 2013 15:16
Show Gist options
  • Save bbonamin/7892247 to your computer and use it in GitHub Desktop.
Save bbonamin/7892247 to your computer and use it in GitHub Desktop.
Install ruby 2.0 from source
sudo apt-get -y update &&
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev &&
cd /tmp &&
wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz &&
tar -xvzf ruby-2.0.0-p353.tar.gz &&
cd ruby-2.0.0-p353/ &&
./configure --prefix=/usr/local &&
make &&
sudo make install
@bbonamin
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment