public
Created

Installing Falcon's Ruby 1.9.3 Performance Patches

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# 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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.