Project

General

Profile

Actions

Defect #3670

closed

SVN repository: missing config/initializers/session_store.rb

Added by Andreas Deininger almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Came across that while updating my redmin instance to svn revision 2824:

http://www.redmine.org/news/show/22 states:

A rake task was added to make this step easier. You just need to run the following command from your Redmine directory:
rake config/initializers/session_store.rb

However, I couldn't find the file session_store.rb neither in my trunk checkout nor anywhere else in the Redmine SVN repository.

Am I overlooking something?

Just in case anyone else runs into that problem:

I resolved my problem by manually adding the line below to the file config/environemnt.rb. (That's what is supposed to be done by the rake command).

config.action_controller.session = {
:session_key => '_scotfurs_site_session',
:secret => 'abcdef...'
}
Actions #1

Updated by Mischa The Evil almost 15 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Andreas Deininger wrote:

http://www.redmine.org/news/show/22 states:

[...]

However, I couldn't find the file session_store.rb neither in my trunk checkout nor anywhere else in the Redmine SVN repository.

Look at source:/trunk/lib/tasks/initializers.rake. If you run the command rake config/initializers/session_store.rb the preceding rake-task generates the secret-key and writes it to the (automatically generated) ../config/initializers/session_store.rb-file.

Mischa.

Actions

Also available in: Atom PDF