Defect #20736

production configuration not read from database.yml

Added by Miroslav Zaťko about 5 years ago. Updated about 5 years ago.

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

0%

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

Description

I have strange problem with configuration of 3.1-stable in file database.yml there are 3 exactly same configurations: production,development & test
If I print out content of database_config after read from file in <redmineroot>/Gemfile, there are test & development configurations read from config/database.yml nothing for production. {"production"=>nil, "development"=>{"adapter"=>"postgresql", "database"=>"redmine_dev", "host"=>"localhost", "username"=>"redmine", "password"=>"redmine"}, "test"=>{"adapter"=>"postgresql", "database"=>"redmine_test", "host"=>"localhost", "username"=>"redmine", "password"=>"redmine"}}

I'm trying to run

bundle install --without development test

History

#1 Updated by Miroslav Zaťko about 5 years ago

  • Status changed from New to Resolved

Was my fault... I left uncommented "production:" line at end of file... :(

#2 Updated by Go MAEDA about 5 years ago

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

Thanks for the feedback.
Closing.

Also available in: Atom PDF