updated gemfile and heroku compatibility