Configure Gemfile and database.yml for Heroku.