Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Created April 15, 2010 16:35
Show Gist options
  • Save cwjohnston/367333 to your computer and use it in GitHub Desktop.
Save cwjohnston/367333 to your computer and use it in GitHub Desktop.
root@ctrlportal:~# chef-client
[Thu, 15 Apr 2010 16:35:30 +0000] INFO: Starting Chef Run
[Thu, 15 Apr 2010 16:35:33 +0000] WARN: Missing gem 'mysql'
[Thu, 15 Apr 2010 16:35:35 +0000] INFO: Ran execute[apt-get update] successfully
[Thu, 15 Apr 2010 16:35:35 +0000] WARN: Could not find previously defined grants.sql resource
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- mysql (LoadError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/cache/chef/cookbooks/control_portal/recipes/default.rb:53:in `from_file'
from /usr/lib/ruby/1.8/chef/cookbook.rb:171:in `load_recipe'
from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:41:in `include_recipe'
from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:26:in `each'
from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:26:in `include_recipe'
from /usr/lib/ruby/1.8/chef/compile.rb:145:in `load_recipes'
from /usr/lib/ruby/1.8/chef/compile.rb:144:in `each'
from /usr/lib/ruby/1.8/chef/compile.rb:144:in `load_recipes'
from /usr/lib/ruby/1.8/chef/compile.rb:54:in `initialize'
from /usr/lib/ruby/1.8/chef/client.rb:316:in `new'
from /usr/lib/ruby/1.8/chef/client.rb:316:in `converge'
from /usr/lib/ruby/1.8/chef/client.rb:89:in `run'
from /usr/lib/ruby/1.8/chef/application/client.rb:210:in `run_application'
from /usr/lib/ruby/1.8/chef/application/client.rb:202:in `loop'
from /usr/lib/ruby/1.8/chef/application/client.rb:202:in `run_application'
from /usr/lib/ruby/1.8/chef/application.rb:57:in `run'
from /usr/bin/chef-client:25
root@ctrlportal:~# gem list
*** LOCAL GEMS ***
mysql (2.8.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment