G
Guy Speier
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:
1) Is this pause to be expected, or have I stumbled upon the issue?
2) What does this line (configuration.frameworks.each { |framework|
require(framework.to_s) }) mean? Can someone point me to the next file/line
to look?
3) Any ideas?
I really appreciate it!
Guy
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:
1) Is this pause to be expected, or have I stumbled upon the issue?
2) What does this line (configuration.frameworks.each { |framework|
require(framework.to_s) }) mean? Can someone point me to the next file/line
to look?
3) Any ideas?
I really appreciate it!
Guy