Forum: Rails deployment Active Support 2.2.2 Dependency errors - Production

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Derek B. (Guest)
on 2009-02-02 01:01
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:in `const_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:in `ge
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:in `require'
        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:in `depend_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:in `load'
        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
Derek B. (Guest)
on 2009-02-02 05:36
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!
This topic is locked and can not be replied to.