Skip to content

Instantly share code, notes, and snippets.

@jhbabon
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhbabon/faa67e5ea3fe6e0b0e8d to your computer and use it in GitHub Desktop.
Save jhbabon/faa67e5ea3fe6e0b0e8d to your computer and use it in GitHub Desktop.
ruby-build recipe for 2.1.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.1.3/railsexpress/01-zero-broken-tests.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/02-improve-gc-stats.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/03-display-more-detailed-stack-trace.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/04-show-full-backtrace-on-stack-overflow.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/05-funny-falcon-stc-density.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/06-funny-falcon-stc-pool-allocation.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/07-aman-opt-aset-aref-str.patch
patch -p1 < rvm-patchsets/patches/ruby/2.1.3/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_3" "https://github.com/ruby/ruby/archive/v2_1_3.tar.gz#56a1f707c4e81ee9b7f79b585ad924c3" reconfigure patch_ruby_railsexpress ldflags_dirs standard verify_openssl
@mediafinger
Copy link

There is a newer version of openssl:

install_package "openssl-1.0.1i" "https://www.openssl.org/source/openssl-1.0.1i.tar.gz#74eed314fa2c93006df8d26cd9fc630a101abd76" mac_openssl --if has_broken_mac_openssl

@jhbabon
Copy link
Author

jhbabon commented Oct 14, 2014

@mediafinger updated. Thanks.

@jhbabon
Copy link
Author

jhbabon commented Oct 14, 2014

@mediafinger the openssl SHA checksum doesn't work, you must use the MD5 checksum. I updated the recipe with it.

@naoisegolden
Copy link

For the record, this is run by $ rbenv install ./2.1.3-railsexpress thank you!!!!

Use $ export CC=/usr/bin/clang in Yosemite (after upgrading Xcode and $ xcode-select --install.)
rbenv/rbenv#610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment