modified gemfile and database for postgres deployment on heroku