Fix Rakefile execution on Heroku