# File lib/heroku/commands/app.rb, line 140 def rake app = extract_app cmd = args.join(' ') if cmd.length == 0 display "Usage: heroku rake <command>" else heroku.start(app, "rake #{cmd}", :attached).each { |chunk| display(chunk, false) } end rescue Heroku::Client::AppCrashed => e error "Couldn't run rake\n#{e.message}" end