On Fri, Mar 22, 2013 at 12:06 AM, Michael Armistead <[email protected]> wrote: > Ah - I performed "rake db:test:prepare" and now my tests are passing. > However, it still takes over a minute for an rspec spec test to even begin. > I wonder what is causing the hang up?
Rails is causing the hang up. One must stop auto requiring everything via bundler and start managing things a bit more manually, that is, unless you like waiting 10 minutes for Rails to figure out what the hell it's going to do and then do it. What I am saying is, we've managed to get our apps from taking a minute to load to loading almost instantly by setting require:false on almost everything and then manually requiring as we need it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

