-
-
Save joevandyk/6ac7cd734cdc92a0adcb to your computer and use it in GitHub Desktop.
Bulding ruby...
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
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