I created a fresh new rails app, no gems, no nothing. Completely
unmodified. Doing anything that initializes rails takes 2 - 3 times
longer in ruby 1.9.1 than it does in 1.8.7. Obviously with a fresh rails
app, this is only 2 - 3 seconds extra. But with a decent sized app, this
can take up to 25 seconds for rails to initialize, vs the 12 seconds in
I’ve been racking my brain on this all day. I don’t know where to begin.
Any ideas what might be causing the problem or a way to profile the code
and figure out what is taking so long?
The reason its an issue for me, heroku times out before my app has a
chance to start, displaying an error message that the app times out.
Any help is appreciated. Thanks.