Skip to content

Instantly share code, notes, and snippets.

@spheromak
Created August 3, 2010 16:45
Show Gist options
  • Save spheromak/506710 to your computer and use it in GitHub Desktop.
Save spheromak/506710 to your computer and use it in GitHub Desktop.
#shef -z
... attrib stuff ...
/var/chef/cache/cookbooks/ohai/recipes/default.rb:20:in `from_file': undefined method `attribute?' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/cookbook_version.rb:316:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/mixin/language_include_recipe.rb:27:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/run_context.rb:93:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/run_context.rb:90:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/run_context.rb:90:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/run_context.rb:54:in `initialize'
... 9 levels...
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/shef:47
from /usr/bin/shef:19:in `load'
from /usr/bin/shef:19
# chef-client -v
Chef: 0.9.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment