Fix Gemfile and database.yml for Heroku.