Add rails4 stuff for heroku