Add heroku support for rails 4