When Rails starts it preloads all of its dependencies (gems), which results in very slow startup time. In a medium sized project I'm working on, the start time of Rails is 10-15 seconds depends on the machine.
While this is not an issue in production, it is a huge pain in development. Specially when working TDD/BDD. There are solutions to speed up the tests (like spork), but they introduce issues of their own.
My question is: why not require the needed dependencies in each of the code files, instead of preloading everything during startup time?
What are the downsides of manual requires? The extra lines of code?