Hello, I attached a patch to this ticket:

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2792

It shows verbose output of what rails is doing during startup.  Shows
each step and how long it look, including every gem and plugin.  But
only if the env var RAILS_VERBOSE_STARTUP is set to true.

I using it now on my local system and typing script/console or running
a test is no longer a mystery 30 second wait.

In the future I'd like to be able to turn off certain gems/routes/
plugins etc when running certain tests.  I want to run the test over
and over, but gotta get the load time down.

Appreciate any feedback on the patch.  Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to