When trying to ‘vmc push hello’ the sinatra sample app as a test of deployment I get:
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
This happens when trying to deploy using vmc to ‘api.cloudfoundry.com’ and micro cloud using the commands ‘vmc push hello’ and ‘vmc push’
Running
gem update vmcfixed the problem for me. Updates to =>manifests-vmc-plugin-0.4.17