Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/55.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 使用redis在cloudfoundry部署rails应用程序时出错?_Ruby On Rails_Redis_Cloud Foundry - Fatal编程技术网

Ruby on rails 使用redis在cloudfoundry部署rails应用程序时出错?

Ruby on rails 使用redis在cloudfoundry部署rails应用程序时出错?,ruby-on-rails,redis,cloud-foundry,Ruby On Rails,Redis,Cloud Foundry,我在为我的应用程序创建服务时遇到此错误 为应用程序创建服务?>y 正在创建服务redis-70a08。。。好啊 NoMethodError:nil:NilClass的未定义方法“name” 有关更多信息,请参阅~/.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/

我在为我的应用程序创建服务时遇到此错误 为应用程序创建服务?>y 正在创建服务redis-70a08。。。好啊 NoMethodError:nil:NilClass的未定义方法“name” 有关更多信息,请参阅~/.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'

您可以尝试更新版本的VMC,gem安装VMC--pre


我在0.4.7中遇到了相同的错误,但是0.5.0对我来说很好。

我得到了这个错误名称:错误:nil:NilClass vmc-0.4.7/lib/vmc/cli/service/bind.rb:18:inbind_service'mothership-0.3.5/lib/mothership/base.rb:61:in
send'mothership-0.3.5/lib/mothership/base.rb:61:in
运行'mothership-0.3.5/lib/mothership/command.rb:68:在'invoke'中,您运行的是ruby 1.9还是1.8?是否可以卸载所有vmc及其依赖项并重新安装?