Apakah Anda menetapkan kata sandi untuk postgres
Anda? pengguna?
Di config/database.yml
. Anda Anda harus mengatur database Anda dengan benar:
development:
adapter: postgresql
encoding: unicode
database: your_app_development # name your development app something
host: localhost
pool: 5
username: your_username
password: your_password # or leave blank if you didn't set a password
test:
adapter: postgresql
encoding: unicode
database: your_app_test
host: localhost
pool: 5
username: your_username
password: your_password