Last active
December 29, 2015 01:19
-
-
Save umtrey/7592062 to your computer and use it in GitHub Desktop.
Install ruby 1.9.3-p327-perf without the ruby-build listing (by patching existing ruby) - save this file in /tmp/ and run with rbenv install /tmp/1.9.3-p327-perf
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
build_package_combined_patch() { | |
local package_name="$1" | |
{ | |
curl https://gist.github.com/funny-falcon/4136373/raw/0b65118d0e0930c5dc15479722309fac971af902/falcon-gc.diff | patch -p1 | |
autoconf | |
./configure --prefix="$PREFIX_PATH" $CONFIGURE_OPTS | |
make -j 8 | |
make install | |
} >&4 2>&1 | |
} | |
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" | |
install_package "ruby-1.9.3-p327" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz" combined_patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As m-shirshendu commented here: https://gist.github.com/burke/1688857