我正在尝试在我的笔记本电脑上安装 chef and knife ec2 插件来设置工作站。最初我使用 chef omnibus 安装 chef-client,但安装后我遇到了一些问题,所以快速谷歌搜索让我进入 stackoverflow,几个线程建议我使用 gem 安装 chef。我在 ruby 2.0.0-p0 上运行并安装了 chef and knife ec2,但我现在遇到了不同的问题。我已经发布了这个问题,请看一下。
请帮我解决这个问题
/home/jeevan/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:247:in `to_specs': Could not find chef (>= 0) amongst [] (Gem::LoadError)
from /home/jeevan/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:256:in `to_spec'
from /home/jeevan/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems.rb:1231:in `gem'
from /home/jeevan/.rvm/gems/ruby-2.0.0-p0/bin/chef-client:18:in `<main>'
from /home/jeevan/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
from /home/jeevan/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'