thoughtbot/kumade — Issue #89: Rake task fails
Author: scahourbank
Created: 2012-02-24 19:54:42+00:00
State: open

In a fresh Rails 3.2.1 app with kumade 0.8.2, I can deploy fine with `bundle exec kumade production` however when I run `rake deploy:production` I get the following error:

``` ruby
cso.mybenefitsviewer.com (master ✔) ᐅ rake deploy:production --trace
** Invoke deploy:production (first_time)
** Execute deploy:production
rake aborted!
undefined method `run' for Kumade::CLI:Class
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/kumade-0.8.2/lib/kumade/tasks/deploy.rake:5:in `block (3 levels) in '
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/ryanwood/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.9.2.2/bin/rake:33:in `'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/bin/rake:19:in `load'
/Users/ryanwood/.rvm/gems/ruby-1.9.2-p136/bin/rake:19:in `

'
Tasks: TOP => deploy:production
```