Skip to content

Instantly share code, notes, and snippets.

@martin2110
Created May 20, 2014 02:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martin2110/3fa7b381237526dd014f to your computer and use it in GitHub Desktop.
Save martin2110/3fa7b381237526dd014f to your computer and use it in GitHub Desktop.
NoMethodError: undefined method `require_relative' for main:Object
/var/chef/cache/cookbooks/mysql/libraries/provider_mysql_service_rhel.rb:3
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:179:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:179:in `load_libraries_from_cookbook'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:176:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:176:in `load_libraries_from_cookbook'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:98:in `compile_libraries'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:97:in `each'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:97:in `compile_libraries'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context/cookbook_compiler.rb:70:in `compile'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/run_context.rb:86:in `load'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/client.rb:224:in `setup_run_context'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/client.rb:467:in `do_run'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/client.rb:200:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/application.rb:190:in `run_chef_client'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/application/client.rb:297:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/application/client.rb:290:in `loop'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/application/client.rb:290:in `run_application'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/application.rb:73:in `run'
/usr/lib/ruby/gems/1.8/gems/chef-11.4.0/bin/chef-client:26
/usr/bin/chef-client:19:in `load'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment