- From: Vincent Jorgensen <
>
- To: "
" <
>
- Subject: [chef] rubygems/format (LoadError)
- Date: Tue, 26 Feb 2013 22:48:55 +0000
- Accept-language: en-US
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:34
from
/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:60
from
/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:25
from
/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:23
from /usr/bin/chef-client:23:in `load'
from /usr/bin/chef-client:23
I'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.rb
The 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/rubygems
14:46 Tue Feb 26 # uname -a
Linux 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 -a
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.3 (Final)
Release: 6.3
Codename: Final
--------------------------------
Vincent Jorgensen
Operations Engineer @ Incentive Networks
650.226.4917 PST (GMT-0800)
- [chef] rubygems/format (LoadError), Vincent Jorgensen, 02/26/2013
Archive powered by MHonArc 2.6.16.