Created
January 23, 2012 19:59
-
-
Save nicholas/1665233 to your computer and use it in GitHub Desktop.
Installing Falcon's Ruby 1.9.3 Performance Patches
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
# Reference: https://gist.github.com/1658360 | |
curl https://raw.github.com/gist/1658360/afd06eec533ad0140011bdaf652e6cd82eedf7ec/cumulative_performance.patch > $rvm_path/patches/ruby/1.9.3/p0/falcon.patch | |
rvm install 1.9.3 -n fast --patch falcon | |
rvm gemset copy 1.9.3-p0@global 1.9.3-p0-fast@global | |
rvm gemset copy 1.9.3-p0@plustrac 1.9.3-p0-fast@plustrac | |
bundle | |
# If you were doing this for another project, you'd probably want your .rvmrc to look something like this: | |
if [ "$RAILS_ENV" == "development" -o "$RAILS_ENV" == "" ] | |
then | |
rvm use 1.9.3-p0-fast@plustrac | |
else | |
rvm use 1.9.3-p0@plustrac | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment