Skip to content

Instantly share code, notes, and snippets.

@roccoblues
Created May 29, 2017 12:46
Show Gist options
  • Save roccoblues/1cc6fb94e4695a3e129448b82b897bb4 to your computer and use it in GitHub Desktop.
Save roccoblues/1cc6fb94e4695a3e129448b82b897bb4 to your computer and use it in GitHub Desktop.
ruby-build definition for 2.4.1 with railsexpress patches
build_package_reconfigure() {
test -f configure || autoconf
}
build_package_patch_ruby_railsexpress() {
fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master
for p in rvm-patchsets/patches/ruby/2.4.1/railsexpress/* ; do
patch -p1 < $p
done
}
install_package "openssl-1.0.2l" "https://www.openssl.org/source/openssl-1.0.2l.tar.gz#ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2.4.1" "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.gz#a330e10d5cb5e53b3a0078326c5731888bb55e32c4abfeb27d9e7f8e5d000250" 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