postgresql - rake db:create ignores database.yml content -
i using napa framework.
rake db:create
gives me following error:
pg::connectionbad: fe_sendauth: no password supplied
investigating problem found rake tries create database using system user rather 1 specified within database.yml removing database.yml gives 'file not found', looks read properly.
my database.yml content:
defaults: &defaults encoding: unicode adapter: postgresql host: localhost username: pushnote password: secret123 production: <<: *defaults database: pushnote_production development: <<: *defaults database: pushnote_development test: <<: *defaults database: pushnote_test staging: <<: *defaults database: pushnote_production
anyone can that?
use newest napa code git instead of relaying on what's inside gem :)
for example, in gemfile add this:
gem 'napa', :git => 'https://github.com/bellycard/napa.git'
Comments
Post a Comment