I have my development rails codebase running on a VirtualBox virtual machine (Ubuntu 9.10 64-bit server) with the codebase mounted as a share (originally via SMB/CIFS but now as a VirtualBox shared folder) from my host machine (OS X 10.5.8).
The problem I'm having is that the "loading environment" stage of the rails bootstrap takes an age (60 seconds) e.g. when starting the server, running specs, rake tasks or script/console. The virtual machine has plenty of memory (512Mb, which it tends to use about 40% of).
I have quite a few config.gem entries in my environment file and removing all of those brings the script/console start time down to 20 seconds but as that throws errors due to missing things I don't think that's reliable.
Is there anything I should be looking at to improve the startup time or is it just something I'll have to live with for my largish application?