Created
February 15, 2012 03:59
-
-
Save stevehodgkiss/1833077 to your computer and use it in GitHub Desktop.
ruby-build definition for rvm-patchsets https://github.com/skaes/rvm-patchsets
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_patched() { | |
local package_name="$1" | |
{ | |
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.2/p290/railsexpress/01-railsbench-gc-patch.patch | patch -p1 | |
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.2/p290/railsexpress/02-display-more-detailed-stack-trace.patch | patch -p1 | |
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.2/p290/railsexpress/03-fork-support-for-gc-logging.patch | patch -p1 | |
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.2/p290/railsexpress/04-track-live-dataset-size.patch | patch -p1 | |
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.2/p290/railsexpress/05-load-performance-fix.patch | patch -p1 | |
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.2/p290/railsexpress/06-trace-bmethods.patch | patch -p1 | |
autoconf | |
./configure --prefix="$PREFIX_PATH" $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.2-p290" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz" patched | |
install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're on XCode 4.3, you might need this to make it install: http://jfire.posterous.com/xcode-43-homebrew-and-autoconf