Created
May 17, 2011 12:13
-
-
Save portertech/976360 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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