Skip to content

Instantly share code, notes, and snippets.

@lparry
Created April 26, 2012 03:17
Show Gist options
  • Save lparry/2495427 to your computer and use it in GitHub Desktop.
Save lparry/2495427 to your computer and use it in GitHub Desktop.
1.9.3-p194-railsexpress
build_package_combined_patch() {
local package_name="$1"
{
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.3/p125/railsexpress/02-railsbench-gc.patch | patch -p1
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.3/p125/railsexpress/03-display-more-detailed-stack-trace.patch | patch -p1
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.3/p125/railsexpress/04-fork-support-for-gc-logging.patch | patch -p1
curl https://raw.github.com/skaes/rvm-patchsets/master/patches/ruby/1.9.3/p125/railsexpress/05-track-live-dataset-size.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.3-p194" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz" combined_patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment