Created
February 6, 2009 00:30
-
-
Save postmodern/59130 to your computer and use it in GitHub Desktop.
Simple shell script that downloads and installs Ruby 1.9.1 alongside 1.8
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
#!/bin/sh | |
PATCH=376 | |
mkdir -p /usr/local/src && cd /usr/local/src | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p$PATCH.tar.bz2 | |
tar -xjvf ruby-1.9.1-p$PATCH.tar.bz2 | |
cd ruby-1.9.1-p$PATCH | |
./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