updated gem for heroku and configuration of environment for heroku