Skip to content

Instantly share code, notes, and snippets.

@apsoto
Created February 27, 2013 19:42
Show Gist options
  • Save apsoto/5051014 to your computer and use it in GitHub Desktop.
Save apsoto/5051014 to your computer and use it in GitHub Desktop.
chef-client run fail after rvm installed system wide via chef-rvm
/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find chef (>= 0) amongst [bundler-1.2.4, foreman-0.61.0, rake-10.0.3, rubygems-bundler-1.1.0, rvm-1.11.3.6, thor-0.17.0] (Gem::LoadError)
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /usr/bin/chef-client:22:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment