Skip to content

Instantly share code, notes, and snippets.

@jhbabon
Created December 2, 2014 17:02
Show Gist options
  • Save jhbabon/783060925d926a0fda5f to your computer and use it in GitHub Desktop.
Save jhbabon/783060925d926a0fda5f to your computer and use it in GitHub Desktop.
ruby-build recipe for 2.1.5-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.5/railsexpress/01-zero-broken-tests.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/02-improve-gc-stats.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/03-display-more-detailed-stack-trace.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/05-funny-falcon-stc-density.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/06-funny-falcon-stc-pool-allocation.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/07-aman-opt-aset-aref-str.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/08-funny-falcon-method-cache.patch
}
install_package "openssl-1.0.1j" "https://www.openssl.org/source/openssl-1.0.1j.tar.gz#f7175c9cd3c39bb1907ac8bba9df8ed3" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2_1_5" "https://github.com/ruby/ruby/archive/v2_1_5.tar.gz#64aba0d56d5617e8c96e76a795ab8cc2" 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