modified gem for heroku