我正在使用此说明安装 caldecott http://docs.cloudfoundry.com/tools/vmc/caldecott.html,但之后 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