This project is archived and is in readonly mode.

#2037 ✓duplicate

Rails 2.3.0 doesn't recognize the initializers/session_store.rb

Reported by nshb | February 21st, 2009 @ 08:20 PM

When I run rake gems:install I get the following error..

A key is required to write a cookie containing the session data. Use config.action_controller.session = { :key => "_myapp_session", :secret => "some secret phrase" } in config/environment.rb

I have the default contents within initializers/session_store.rb containing:

ActionController::Base.session = { :key => '_my_session', :secret => '0863fb929fbdcb70...' }

Yet it still wants me to have it within the config/environment.rb

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket