Its taking about 5 minutes for my rails application to load in
development environment. Please suggest what changes can be done to
speed up loading time.
Assuming this is a Rails issue and not a hardware/OS memory swapping
issue, I would start looking the the gems and plugins you have
installed. My guess is you have something that is taking a long time
to initialize. How long does an empty rails application take to
start?
The time is same for an empty rails application as well. I am thinking
that probably its looking for some updates or loading information
about Gems and plugins at runtime iso using the latest. Like for rails
it starts from 2.0.2 . This i knew when I removed this version from my
gems directory.
Is there any way that I keep only the latest versions and force rails/
ruby to use the same instead of going through the complete list if
this is the source of problem.
Is there a possibility that startup is looking for some remote updates
during startup , If yes then is there any way to disable the same.
I'm not aware of Rails doing any checks during startup. The only
thing that comes to mind would be to check any antivirus software or
malware detection software running that could be causing more work.
Can you run the activity monitor to see if you are memory, cpu or IO
bound? One of those needs to be peaking for it to take that long.