我想修改一个刀架空间 gem,以便能够使用 winrm 而不是 ssh 引导,但我无法构建 gem。我已经从https://github.com/opscode/knife-rackspace克隆了刀架空间代码
但是当我尝试运行 rake 时,出现以下错误
$ rake --trace
rake aborted!
Don't know how to build task 'default'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/task_manager.rb:49:in `[]'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:142:in `invoke_task'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/rake-10.0.4/bin/rake:9:in `<top (required)>'
c:/opscode/chef/embedded/bin/rake:23:in `load'
c:/opscode/chef/embedded/bin/rake:23:in `<main>'
我是 Ruby 的新手,所以我不知道它是什么意思或如何解决它....你知道吗?