I'm getting the following error when trying to deploy my rails app with a postgresql database:
ActiveRecord::AdapterNotSpecified: 'production' database is not configured. Available: []
And this is my database.yml file:
development:
adapter: postgresql
encoding: unicode
host: localhost
pool: 20
database: app_development
test:
adapter: postgresql
encoding: unicode
host: localhost
pool: 20
production:
adapter: postgresql
encoding: unicode
host: localhost
pool: 100
database: app_production
username: deploy
password:
Any ideas?