try this database configuration for heroku. Add the pg gem.