Created
February 15, 2015 23:00
-
-
Save fnichol/493a0e85071fba52c332 to your computer and use it in GitHub Desktop.
Build an MRI Ruby version for ruby-prof using ruby-install
This file contains 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 an MRI Ruby version ready for ruby-prof (https://github.com/ruby-prof/ruby-prof) | |
VERSION=2.2.0 | |
ruby-install \ | |
--install-dir ~/.rubies/ruby-prof-$VERSION \ | |
-p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/$VERSION/railsexpress/01-zero-broken-tests.patch \ | |
-p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/$VERSION/railsexpress/02-improve-gc-stats.patch \ | |
-p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/$VERSION/railsexpress/03-display-more-detailed-stack-trace.patch \ | |
-p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/$VERSION/railsexpress/04-backport-401c8bb.patch \ | |
-p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/$VERSION/railsexpress/05-fix-packed-bitfield-compat-warning-for-older-gccs.patch \ | |
ruby $VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment