Skip to content

Instantly share code, notes, and snippets.

View mm1's full-sized avatar

Michael Maier mm1

  • Vienna / Austria
View GitHub Profile
@mm1
mm1 / ruby_install.sh
Created October 15, 2012 12:56 — forked from beanieboi/ruby_install.sh
compile ruby from scratch
#!/usr/bin/env bash
aptitude -y update
aptitude -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p286.tar.gz
tar -xvzf ruby-1.9.3-p286.tar.gz
cd ruby-1.9.3-p286/
./configure --prefix=/opt/ruby-1.9.3-p286
make -j 4
make install