Skip to content

Instantly share code, notes, and snippets.

@joevandyk
Last active December 21, 2015 05:38
Show Gist options
  • Save joevandyk/6ac7cd734cdc92a0adcb to your computer and use it in GitHub Desktop.
Save joevandyk/6ac7cd734cdc92a0adcb to your computer and use it in GitHub Desktop.
Bulding ruby...
set -e
BASE_VERSION=2.0.0
VERSION=$BASE_VERSION-p247
sudo apt-get install -y stow
cd /tmp
curl https://s3.amazonaws.com/tanga/ruby-$VERSION.tar.bz2 | tar jx
cd ruby-$VERSION
./configure --prefix=/usr/local/stow/ruby-$VERSION --disable-install-doc
make -j4
sudo make install
cd /usr/local/stow
sudo stow ruby-$VERSION
sudo gem update --system
sudo gem install bundler
tar cj ruby-$VERSION > /tmp/ruby-$VERSION-i386.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment