当尝试“vmc push hello”作为部署测试的 sinatra 示例应用程序时,我得到:
Time of crash:
Sun Dec 02 14:11:52 -0800 2012
NoMethodError: undefined method `[]' for nil:NilClass
manifests-vmc-plugin-0.4.14/lib/manifests-vmc-plugin.rb:76:in `app_by_tag'
manifests-vmc-plugin-0.4.14/lib/manifests-vmc-plugin.rb:81:in `find_apps'
manifests-vmc-plugin-0.4.14/lib/manifests-vmc-plugin/plugin.rb:102
mothership-0.3.0/lib/mothership/command.rb:78:in `instance_exec'
mothership-0.3.0/lib/mothership/command.rb:78:in `invoke'
mothership-0.3.0/lib/mothership/command.rb:82:in `instance_exec'
mothership-0.3.0/lib/mothership/command.rb:82:in `invoke'
mothership-0.3.0/lib/mothership/base.rb:50:in `execute'
vmc-0.4.2/lib/vmc/cli.rb:106:in `execute'
mothership-0.3.0/lib/mothership.rb:42:in `start'
vmc-0.4.2/bin/vmc:11
/usr/bin/vmc:19:in `load'
/usr/bin/vmc:19
尝试使用 vmc 部署到“api.cloudfoundry.com”和使用命令“vmc push hello”和“vmc push”的微云时会发生这种情况