Project

General

Profile

Actions

Defect #23421

closed

Upgrade without "development" still tries to connect to "development" database

Added by Arnis Juraga over 7 years ago. Updated over 7 years ago.

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 #1

Updated by Toshi MARUYAMA over 7 years ago

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

Also available in: Atom PDF