This is a problem I know other people have been having. I’m on Rails
2.3.5 on a dual core 2.1Ghz Macbook Pro 2.1 with 3Gb of ram and 800Mb+
inactive memory. Things should be fast. Sometimes things run slowly,
but nothing nearly as slowly as rails. irb starts in milliseconds.
Even Java maven tasks are pretty fast. Rails on the other hand takes
a pitiful 1:30 minutes to start - the server, console, and tests.
Simple requests often take 5-10 seconds.
I hope someone figures something out with this - I’m having similar
issues with ruby 1.9.1 and rails 3 on Windows, Ubuntu 9.04 or 9.10.
Nothing I do seems to help with the load time at all (30-60 seconds).
This is a problem I know other people have been having. I’m on Rails
2.3.5 on a dual core 2.1Ghz Macbook Pro 2.1 with 3Gb of ram and 800Mb+
inactive memory. Things should be fast. Sometimes things run slowly,
but nothing nearly as slowly as rails. irb starts in milliseconds.
Even Java maven tasks are pretty fast. Rails on the other hand takes
a pitiful 1:30 minutes to start - the server, console, and tests.
Simple requests often take 5-10 seconds.
I do have 208 gems installed, many of which are in use. That could be
the issue, or it could be some specific gem that’s causing a problem.
Alright… Are you starting in development mode or in production mode?
Can we see your environment.rb (or the part that relates to gems anyway)
?
How big is your database?
Are you setting up activemailing ?
Okay… Did you do ‘bundler lock’ ?
(I am shooting blind here, I’m confused by the problem, but sometimes
it’s like playing broadsides… start shooting and it starts making
sense!).