Skip to content

Instantly share code, notes, and snippets.

@josevalim
Forked from postmodern/build_ruby19.sh
Created February 18, 2009 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josevalim/66453 to your computer and use it in GitHub Desktop.
Save josevalim/66453 to your computer and use it in GitHub Desktop.
#!/bin/sh
mkdir -p /usr/local/src && cd /usr/local/src
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.bz2
tar -xjvf ruby-1.9.1-p0.tar.bz2
cd ruby-1.9.1-p0
./configure --prefix=/usr --program-suffix=19 --enable-shared
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment