Skip to content

Instantly share code, notes, and snippets.

@jhbabon
Created April 21, 2015 10:35
Show Gist options
  • Save jhbabon/105d2c9733fbfb495985 to your computer and use it in GitHub Desktop.
Save jhbabon/105d2c9733fbfb495985 to your computer and use it in GitHub Desktop.
ruby-build recipe for 2.1.6-railsexpress
build_package_reconfigure() {
test -f configure || autoconf
}
build_package_patch_ruby_railsexpress() {
fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/01-zero-broken-tests.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/02-improve-gc-stats.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/03-display-more-detailed-stack-trace.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/05-funny-falcon-stc-density.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/06-funny-falcon-stc-pool-allocation.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/07-aman-opt-aset-aref-str.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/08-funny-falcon-method-cache.patch
}
install_package "openssl-1.0.1m" "https://www.openssl.org/source/openssl-1.0.1m.tar.gz#095f0b7b09116c0c5526422088058dc7e6e000aa14d22acca6a4e2babcdfef74" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2_1_6" "https://github.com/ruby/ruby/archive/v2_1_6.tar.gz#b585d608d7008d903e2552dccd9ad85b" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment