Defect #23421

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

Added by Arnis Juraga about 2 years ago. Updated about 2 years ago.

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


Target version:-
Resolution:Invalid Affected version:3.3.0


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?


#1 Updated by Toshi MARUYAMA about 2 years ago

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

Also available in: Atom PDF