How did you originally install Chef? Did you use rubygems or an Omnibus
What ruby is saying is that you haven’t installed Chef for Ruby 2.0 yet.
The gems for Ruby 2.0.0 are going to be segregated from the Ruby 1.9 gems.
If you’ve installed via Rubygems before you can simply run a
gem install chef to get going again.
I’d strongly recommend, however, that you install Chef from an Omnibus
On Thu, Nov 14, 2013 at 5:03 PM, David Montgomery <email@example.com
I just upgraded ruby. Now chef is nt working
How do I resolve?
ubuntu@ubuntu-VirtualBox:~$ knife cookbook upload environment -E
to_specs': Could not find 'chef' (>= 0) among 8 total gem(s) (Gem::LoadError) from /usr/local/lib/ruby/2.0.0/rubygems/dependency.rb:307:into_spec’
gem' from /usr/local/bin/knife:22:in’
Software Development Engineer
1008 Western Avenue
Seattle, WA 98104