Forum: Ruby on Rails Error while initializng temporary session directories in edg

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
1939bbf5af584125e8824d96338a5b0d?d=identicon&s=25 timetrap (Guest)
on 2007-03-07 21:39
(Received via mailing list)
I'm encountering an odd error when starting up apps running Edge on my
production server (or in the console). The same app works fine in
deployment mode on a different machine. Note, this seems to be only a
problem with edge, as i run several apps under 1.2.1 on the same
server and do not have any problems. Here is the full stack-trace:

dependencies.rb:263:in `load_missing_constant': uninitialized constant
ActionController::CgiRequest (NameError)
        from ./script/../config/../vendor/rails/activesupport/lib/
active_support/dependencies.rb:452:in `const_missing'
        from /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.1/lib/
action_controller/session_management.rb:34:in `session_options'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:311:in `initialize_temporary_directories'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:100:in `process'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:46:in `run'
        from /home/railsapps/fivechimes/releases/20070307070003/config/
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
        from ./script/../config/../vendor/rails/activesupport/lib/
active_support/dependencies.rb:495:in `require'
         ... 16 levels...
        from ./script/../config/../vendor/rails/activesupport/lib/
active_support/dependencies.rb:342:in `new_constants_in'
        from ./script/../config/../vendor/rails/activesupport/lib/
active_support/dependencies.rb:495:in `require'
        from ./script/../config/../vendor/rails/railties/lib/commands/
        from script/server:3

What i find strange is that at one point it seems to look for
session_management.rb in the gem (?), while the vendor directory is
clearly present and is otherwise used. It also seems to be related to
Session management, which was recently changed (i use
ActiveRecordStore and not the new default). FYI, line 13 in
environment.rb is where the Rails::Initializer block starts. Does
anybody have any ideas?
This topic is locked and can not be replied to.