Defect #23421

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

Added by Arnis Juraga over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid Affected version:3.3.0

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?

History

#1 Updated by Toshi MARUYAMA over 1 year ago

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

Also available in: Atom PDF