Active Support 2.2.2 Dependency errors - Production


#1

Running IIS6 w/ reverse proxy to mongrel…everything works fine when
starting mongrel in developement mode…when I attempt to start in
production mode I get the following errors:

** Starting Mongrel listening at 0.0.0.0:8080
** Starting Rails with production environment…
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependenci
es.rb:445:in load_missing_constant': uninitialized constant Configure (NameErro r) from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_suppo rt/dependencies.rb:77:inconst_missing’
from
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_suppo
rt/dependencies.rb:89:in const_missing' from D:/inetpub/wwwroot/c/o/cocoaplex.com/movies/cocoaplex/app/controlle rs/test_controller.rb:10 from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inge
m_original_require’
from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in re quire' from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_suppo rt/dependencies.rb:155:inrequire’
from
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_suppo
rt/dependencies.rb:262:in require_or_load' from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_suppo rt/dependencies.rb:221:independ_on’
… 21 levels…
from
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/…/
lib/mongrel/command.rb:212:in run' from C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mon grel_rails:281 from C:/Ruby/bin/mongrel_rails:19:inload’
from C:/Ruby/bin/mongrel_rails:19

Checked permissions, and everything seems ok.....not sure where else to
turn.

Any help is greatly appreciated!

Derek

#2

not sure if this is the correct fix but here is what i did.

based off of the error message it seemed like it didn’t like line
#445

so i commented out line 445 in -

C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependenci
es.rb

if anyone else has any info or input i would like to hear it…

Thanks!