Skip to content

Instantly share code, notes, and snippets.

@jhbabon
Created August 25, 2015 06:11
Show Gist options
  • Save jhbabon/bc8fb0ac9cb9a1ff7671 to your computer and use it in GitHub Desktop.
Save jhbabon/bc8fb0ac9cb9a1ff7671 to your computer and use it in GitHub Desktop.
ruby-build recipe for 2.2.3-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.2.3/railsexpress/01-zero-broken-tests.patch
patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/02-improve-gc-stats.patch
patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/03-display-more-detailed-stack-trace.patch
}
install_package "openssl-1.0.2d" "https://www.openssl.org/source/openssl-1.0.2d.tar.gz#38dd619b2e77cbac69b99f52a053d25a" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2_2_3" "https://github.com/ruby/ruby/archive/v2_2_3.tar.gz#4786b2510fd09b6e0f7970feceaa48b3" 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