[chef] mysql gem problem


Chronological Thread 
  • From: Roberto < >
  • To:
  • Subject: [chef] mysql gem problem
  • Date: Tue, 24 May 2011 17:33:13 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=J6ev1arBA99WzSLXdr2WXRbsmRNjQMZ2AH2DRjU3pmtJBgYToIoS0cokmqT0UJ23DH jNavjNNE91ITa/wv4SRVcaIyLv5ncye7jtmnWYBZHWB+xNHbUAOeZxuQMnmkUPyqLKlW hrhiN6ahEGCdloRjhEA13+89wFXopgi+mK4ec=

Hi all,

I'm trying to run the "wordpress" chef recipe from the opscode
cookbooks, but I get the following error:


[Tue, 24 May 2011 09:10:36 -0700] DEBUG: Re-raising exception:
LoadError - no such file to load -- mysql
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in
`gem_original_require'
  /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
  /tmp/vagrant-chef/cookbooks-0/wordpress/recipes/default.rb:55:in `from_file'
  
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/cookbook_version.rb:472:in
`load_recipe'
  
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:40:in
`include_recipe'
  
/usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/language_include_recipe.rb:27:in
`each'
  /usr/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/langu: stdout
[default] /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in
`gem_original_require': stderr
[default] : : stderr
[default] no such file to load -- mysql: stderr
[default]  (: stderr
[default] LoadError: stderr
[default] )
: stderr
[default]       from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in
`require'
: stderr
[default]       from
/tmp/vagrant-chef/cookbooks-0/wordpress/recipes/default.rb:55:in
`from_file'


Any idea on why this is happening?

Regards,

Roberto Aloi



Archive powered by MHonArc 2.6.16.

§