我只是更新了rubyntlm,然后gem cleanup
现在没有一个gem命令有效!
我该怎么办?
/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:319:in
to_specs': Could not find 'rubyntlm' (= 0.6.0) - did find: [rubyntlm-0.6.1] (Gem::LoadError) Checked in 'GEM_PATH=/root/.chefdk/gem/ruby/2.1.0:/opt/chefdk/embedded/lib/ruby/gems/2.1.0', execute
gem envfor more information from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:328:in
to_spec' 来自/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:65:in `宝石'
答案 0 :(得分:0)
擦除〜/ .chefdk / gem它应该更好。对于未来,不要以root用户身份运行,ChefDK旨在用于用户工作站