I am having the following contents in a database.yml
production:
adapter: postgresql
database: dbname
host: host.compute-1.amazonaws.com
username: user
password: pass_word
DATABASE_URL: postgres://user:[email protected]:5432/dbname
However on a git push heroku master, I am getting the following error.
could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
Do I need changes for other environments as well?
config.assets.initialize_on_precompile = false