Rails 3.0 is a serious dog. I’ve been developing on Rails for 5 years, and it’s never been slower to startup. In particular, tests take forever to bootstrap on a top notch MacBook with SSD, so iteration cycles suffer severely. I need to read an article every time I start a test. It’s insane and not “agile”. I might as well be compiling.
This is the major motivation for me to finally move on from Rails – when I have the chance.
If anyone has a solution, please offer it. I know many people suffer from this problem.
I don’t use rspec – I know there is a solution to help with tests for rspec.
I’m using faster_require and rails-dev-boost, but there is no significant impact.
I’m on ruby 1.9.2 and need to be. A single pretty simple controller test takes 26 seconds on a dual core 2.13 Ghz MacBook Air with 4Gb RAM and SSD! Why!?
To quote Yehuda Katz:
So it sounds to me like you’ll just need to suffer through this and hopefully it will be fixed in Ruby 1.9.3.