Created
February 12, 2009 02:26
-
-
Save why404/62452 to your computer and use it in GitHub Desktop.
compile and install ruby1.9 on Ubuntu
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
cd ~/downloads | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.bz2 | |
tar -xvfj ruby-1.9.1-p0.tar.bz2 | |
cd ruby-1.9.1-p0 | |
./configure --prefix=$HOME/programs/ruby-1.9.1-p0 --program-suffix=19 --enable-shared | |
make && make test | |
make install | |
rm -rf ~/downloads/ruby-1.9.1-p0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment