Interesting to read, although at this point I am using exactly the same 
setup (cloned from git) that I was using two days ago, and then the tests 
ran almost instantly. I think your wisdom will probably be more applicable 
as I move forward in my rails career :)

Thanks,

On Thursday, March 21, 2013 10:09:16 PM UTC-7, Jordon Bedwell wrote:
>
> On Fri, Mar 22, 2013 at 12:06 AM, Michael Armistead 
> <[email protected] <javascript:>> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/HZ5__rycC9oJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to