Forked from mediafinger/patch_ruby_1.9.3_for_rbfu.sh
Last active
August 29, 2015 13:59
-
-
Save padi/10797986 to your computer and use it in GitHub Desktop.
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://raw.github.com/gist/4136373/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-p545" "http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p545.tar.gz" combined_patch |
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
VERSION="1.9.3-p545" | |
curl https://gist.githubusercontent.com/padi/10797986/raw/2ca04de7392fe3466e846f23b8323d12e39cdd57/2-1.9.3-p545-patched.sh > /tmp/$VERSION-patch | |
ruby-build /tmp/$VERSION-patch $HOME/.rbenv/versions/1.9.3-p545-falconpatch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment