Skip to content

Instantly share code, notes, and snippets.

@brandt
Created April 11, 2016 04:38
Show Gist options
  • Save brandt/399a778a0164d9fdf7476b17c507a8ad to your computer and use it in GitHub Desktop.
Save brandt/399a778a0164d9fdf7476b17c507a8ad to your computer and use it in GitHub Desktop.
Ruby 2.3.0 rbenv / ruby-build recipe i.e. /usr/local/share/ruby-build/2.3.0-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.3.0/railsexpress/01-skip-broken-tests.patch
patch -p1 < rvm-patchsets/patches/ruby/2.3.0/railsexpress/02-improve-gc-stats.patch
patch -p1 < rvm-patchsets/patches/ruby/2.3.0/railsexpress/03-display-more-detailed-stack-trace.patch
}
install_package "openssl-1.0.2f" "https://www.openssl.org/source/openssl-1.0.2f.tar.gz#932b4ee4def2b434f85435d9e3e19ca8ba99ce9a065a61524b429a9d5e9b2e9c" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2.3.0" "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2#ec7579eaba2e4c402a089dbc86c98e5f1f62507880fd800b9b34ca30166bfa5e" 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