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

Problem:

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.
./script/…/config/…/config/environment.rb:47:NameError:
uninitialized constant ActionController

./script/…/config/…/config/…/vendor/rails/actionpack/lib/action_controller/integration_test.rb:16:NameError:

   uninitialized constant 

ActionController::Integration::Session::Test
>>

Any idea?

Alain