Project

General

Profile

Actions

Defect #35190

closed

Missing RAILS_ENV for generate_secret_token rake task

Added by Karel Pičman almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Please update both RedmineInstall and RedmineUpgrade in order to add missing RAILS_ENV to rake generate_secret_token command, so

bundle exec rake generate_secret_token RAILS_ENV=production

instead of just

bundle exec rake generate_secret_token
Actions #1

Updated by Holger Just almost 3 years ago

  • Status changed from New to Needs feedback

The generate_secret_token rake task does not interact with the database nor the global configuration nor any other external component. As such, it shouldn't make any different under which environment the rake task is run.

Do you see any observable difference when running this rake task under the (usual) default development rather than production?

Actions #2

Updated by Karel Pičman almost 3 years ago

You're right. The problem has been finally identified in a plugin. Thank you for prodding me into searching the real cause of the problem. You can close the issue, I think.

Actions #3

Updated by Marius BĂLTEANU almost 3 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid
Actions

Also available in: Atom PDF