Created
December 10, 2013 15:16
-
-
Save bbonamin/7892247 to your computer and use it in GitHub Desktop.
Install ruby 2.0 from source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ruby 2.1.1: http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gz