Skip to content

Instantly share code, notes, and snippets.

@why404
Created February 12, 2009 02:26
Show Gist options
  • Save why404/62452 to your computer and use it in GitHub Desktop.
Save why404/62452 to your computer and use it in GitHub Desktop.
compile and install ruby1.9 on Ubuntu
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