Howdy,
Total green-horn here. A few weeks ago, a test website we were
bulding (on freebsd with mysql) slowed waaaay down.
I believe I have the problem narrowed down to this line of code
in /vendor/rails/railties/lib/initializer.rb:
configuration.frameworks.each { |framework| require(framework.to_s) }
I Say I think I’ve got it narrowed doen to this line of code, because
I have it flanked by puts “AAA” and puts “BBB”, and whenever I
execute:
config/environment.rb
there is a ~6 second pause between AAA and BBB to STDOUT.
Like I’ve said (and I’m sure you would have realized by now), I am a
total greenhorn here, but:
- Is this pause to be expected, or have I stumbled upon the issue?
- What does this line (configuration.frameworks.each { |framework|
require(framework.to_s) }) mean? Can someone point me to the next
file/line to look? - Any ideas?
Also, I believe this is running with fastcgi, but how can I
confirm / troubleshoot this?
I really appreciate it!
Guy