Created
May 29, 2012 16:25
-
-
Save tylerjohnst/2829376 to your computer and use it in GitHub Desktop.
rbenv install of 1.9.2-p128 with falcon patch including shard libraries
This file contains hidden or 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://github.com/ruby/ruby/pull/47.diff | git apply | |
| curl https://raw.github.com/gist/1859082/performance_and_backport_gc.patch | patch -p1 | |
| autoconf | |
| ./configure --prefix="$PREFIX_PATH" --enable-shared $CONFIGURE_OPTS | |
| make -j 8 | |
| make install | |
| } >&4 2>&1 | |
| } | |
| require_gcc | |
| install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" | |
| install_package "ruby-1.9.3-p125" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz" combined_patch |
This file contains hidden or 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
| rbenv install ./1.9.3-p125-perf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment