I am running the command "rails server"
, but when it launches, it gives out the following error:
PG::ConnectionBad
FATAL: password authentication failed for user "app_name" FATAL: password authentication failed for user "app_name"
I cant figure out, what might be the problem, here is my GemFile:
development:
adapter: postgresql
encoding: unicode
database: app_development
host: localhost
pool: 5
username: app_name
password: password
I am running Rails on Ubuntu with posgresql db.