edit app.rb for heroku and carrierwave