postmodern (owner)

Forks

Revisions

gist: 59130 Download_button fork
public
Description:
Simple shell script that downloads and installs Ruby 1.9.1 alongside 1.8
Public Clone URL: git://gist.github.com/59130.git
Embed All Files: show embed
build_ruby19.sh #
1
2
3
4
5
6
7
8
9
10
11
#!/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