Actions
Defect #23421
closedUpgrade without "development" still tries to connect to "development" database
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I was upgrading 3.0.1
to 3.3.0
I used this command:
bundle install --without development test rmagick
But (using official upgrade instruction) running this script:
bundle exec rake generate_secret_token
gives me an error:
rake aborted!
ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["production"]
Although, this one executes without an error and everything looks working fine now:
RAILS_ENV=production bundle exec rake generate_secret_token
Is it correct behavior?
Actions