Skip to content

Instantly share code, notes, and snippets.

@rubo77
Last active November 15, 2016 22:11
Show Gist options
  • Save rubo77/ba9b64b160fe46e44aa1 to your computer and use it in GitHub Desktop.
Save rubo77/ba9b64b160fe46e44aa1 to your computer and use it in GitHub Desktop.
#!/bin/bash
# install ruby 2.0 on Ubuntu 12.04
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
@andersoonweb
Copy link

Thanks you @rubo77

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