Last active
August 29, 2015 14:07
-
-
Save jhbabon/faa67e5ea3fe6e0b0e8d to your computer and use it in GitHub Desktop.
ruby-build recipe for 2.1.3-railsexpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 the openssl SHA checksum doesn't work, you must use the MD5 checksum. I updated the recipe with it.
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
@mediafinger updated. Thanks.