Storing sessions files elsewhere on EdgeRails


Hi all,

In a Rails 1.0 project, I successfully changed the sessions storage
location to /tmp, by adding

ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:tmpdir =>
File.join(RAILS_ROOT, ‘/tmp’))
in environment.rb


I tried to use the same trick in an EdgeRails project, but it doesn’t
work : server error, with no msg in the logs.
(MacOS X, with Locomotive.)

When I start the console, I get a new error:

Loading development environment.
uninitialized constant ActionController


   uninitialized constant 


Any idea?