2012-12-05 92 views
0

我使用這個指令安裝郝德傑http://docs.cloudfoundry.com/tools/vmc/caldecott.html之後卻VMC沒有奏效:VMC不工作後安裝郝德傑

/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- restclient (LoadError) 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from /var/lib/gems/1.8/gems/tunnel-vmc-plugin-0.1.9/lib/tunnel-vmc-plugin/tunnel.rb:2 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' 
    from /var/lib/gems/1.8/gems/tunnel-vmc-plugin-0.1.9/lib/tunnel-vmc-plugin/plugin.rb:2 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:59:in `gem_original_require' 
    from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:59:in `require' 
    from /var/lib/gems/1.8/gems/vmc-0.4.2/lib/vmc/plugin.rb:43:in `load_all' 
    from /usr/lib/ruby/1.8/set.rb:194:in `each' 
    from /usr/lib/ruby/1.8/set.rb:194:in `each_key' 
    from /usr/lib/ruby/1.8/set.rb:194:in `each' 
    from /var/lib/gems/1.8/gems/vmc-0.4.2/lib/vmc/plugin.rb:42:in `load_all' 
    from /var/lib/gems/1.8/gems/vmc-0.4.2/bin/vmc:9 
    from /usr/local/bin/vmc:19:in `load' 
    from /usr/local/bin/vmc:19 

我該如何解決呢?

對於重現:

1. sudo gem install caldecott --no-rdoc --no-ri 
2. sudo gem install tunnel-vmc-plugin 
+1

提供了有關您詳細瞭解的信息,以便其他人可以幫助您。 –

回答

2

爲VMC 0.4是一個新的版本中,在線文檔有點過時了。你真正需要做的是安裝rest-client,儘管這應該是對tunnel-vmc-plugin的依賴!

gem install rest-client 

你應該很好走!

+0

謝謝,它的工作原理! – Dmitry