Created
November 1, 2012 12:05
-
-
Save jasiek/3993269 to your computer and use it in GitHub Desktop.
Installs Ruby 1.9.3-p194 with a patch set for faster require. (http://bugs.ruby-lang.org/issues/7158)
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/bash | |
pushd /tmp | |
COMMITS="8243d294600ca6e635bb617be23f34172e7676ab c23b88eff207744cccc42fa74f991eacdb419957 bf0c8f0fe1643c011fe9fa7dd14faeed604bd797 c7ec412a92e279f7f8d1ae88a2b1673dd64312f6" | |
PATCHES="" | |
for f in $COMMITS; do | |
wget --no-check-certificate https://github.com/gnprice/ruby/commit/$f.patch | |
PATCHES=$PATCHES,/tmp/$f.patch | |
done | |
rvm install -n fast_require 1.9.3-p194 --patch $PATCHES | |
for f in $COMMITS; do | |
rm /tmp/$f.patch | |
done | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment