Prepare rails app for heroku