On Tuesday, February 26, 2013 at 2:48 PM, Vincent Jorgensen wrote:
I updated three of my boxes to the latest rubygems and chef (11.4.0) and now I'm getting the following missing package error:# chef-client/usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:106:in `gem_original_require': no such file to load -- rubygems/format (LoadError)from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:106:in `require'from /usr/lib64/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/provider/package/rubygems.rb:34from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:58:in `gem_original_require'from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:58:in `require'from /usr/lib64/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef/providers.rb:60from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:58:in `gem_original_require'from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:58:in `require'from /usr/lib64/ruby/gems/1.8/gems/chef-11.4.0/bin/../lib/chef.rb:25from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:58:in `gem_original_require'from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:58:in `require'from /usr/lib64/ruby/gems/1.8/gems/chef-11.4.0/bin/chef-client:23from /usr/bin/chef-client:23:in `load'from /usr/bin/chef-client:23I've confirmed that I have rubygems/format.rb# locate rubygems/format.rb/usr/lib64/ruby/gems/1.8/gems/rubygems-update-1.8.24/lib/rubygems/format.rbThe question becomes, why isn't chef able to find it?Other specs that may or may not be helpful:ib/ruby/site_ruby/1.8/rubygems14:46 Tue Feb 26 # uname -aLinux box.box 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux# lsb_release -aLSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchDistributor ID: CentOSDescription: CentOS release 6.3 (Final)Release: 6.3Codename: Final--------------------------------Vincent JorgensenOperations Engineer @ Incentive Networks650.226.4917 PST (GMT-0800)
Archive powered by MHonArc 2.6.16.