【发布时间】:2013-02-28 15:28:27
【问题描述】:
我在为我的应用创建服务时遇到此错误 为应用程序创建服务?> y 创建服务 redis-70a08... OK NoMethodError:nil 的未定义方法“名称”:NilClass 有关详细信息,请参阅 ~/.vmc/crash
NoMethodError: undefined method name' for nil:NilClass
vmc-0.4.7/lib/vmc/cli/service/bind.rb:18:in bind_service'
mothership-0.3.5/lib/mothership/base.rb:61:in send'
mothership-0.3.5/lib/mothership/base.rb:61:in run'
mothership-0.3.5/lib/mothership/command.rb:68:in `invoke'
【问题讨论】:
-
我收到此错误 NoMethodError: undefined method
name' for nil:NilClass vmc-0.4.7/lib/vmc/cli/service/bind.rb:18:inbind_service' Mothership-0.3.5/lib/mothership/base.rb:61:insend' mothership-0.3.5/lib/mothership/base.rb:61:inrun' Mothership-0.3.5/lib /mothership/command.rb:68:in `invoke' -
您运行的是 ruby 1.9 还是 1.8?是否可以卸载所有 vmc 及其依赖项并重新安装?
标签: ruby-on-rails redis cloud-foundry