Skip to content

Instantly share code, notes, and snippets.

@xenda
Created March 7, 2014 15:48
Show Gist options
  • Save xenda/9413976 to your computer and use it in GitHub Desktop.
Save xenda/9413976 to your computer and use it in GitHub Desktop.
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-p247.tar.gz
tar -xvzf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247/
./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