Skip to content

Instantly share code, notes, and snippets.

@portertech
Created May 17, 2011 12:13
Show Gist options
  • Select an option

  • Save portertech/976360 to your computer and use it in GitHub Desktop.

Select an option

Save portertech/976360 to your computer and use it in GitHub Desktop.
sudo apt-get install build-essential libssl-dev libreadline5-dev zlib1g-dev
sudo chmod -R 777 /usr/local/src/
cd /usr/local/src/
wget http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p299.tar.gz
tar zxvf ruby-1.8.7-p299.tar.gz
cd ruby-1.8.7-p299
./configure
make
sudo make install
which ruby
ruby -v
ruby -ropenssl -rzlib -rreadline -e "puts :success"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment