Created
May 31, 2011 18:54
-
-
Save kpolitowicz/1001053 to your computer and use it in GitHub Desktop.
Speeding up Rails startup time - 1.9.2-p180
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
curl https://gist.github.com/raw/999435/fc2718ac3f488ab2341b65dc2ae5c123f8859bff/fast-require-ruby-19.2-p180 > /tmp/require-performance-fix-1.9.2.patch | |
rvm install 1.9.2-p180 --patch /tmp/require-performance-fix-1.9.2.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The patch is unofficial and probably breaks few things. However, just run rspecs for a large projects and all passed. Also, startup time cut about 50%!
See: http://rhnh.net/2011/05/28/speeding-up-rails-startup-time. Also thanks to Adam Palmblad for adopting the patch for 1.9.2-p180.