Summary: | app-admin/chef-10.24.0 with dev-lang/ruby-1.9 - cannot load such file -- rubygems/format (LoadError) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Josh G <joshin> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Josh G
2014-03-27 19:04:10 UTC
I'm running into the same issues, making chef unusable: $ knife node list /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- mixlib/cli (LoadError) from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/lib/chef/knife.rb:22:in `<top (required)>' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/lib/chef/application/knife.rb:18:in `<top (required)>' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/bin/knife:23:in `<top (required)>' from /usr/bin/knife:8:in `load' from /usr/bin/knife:8:in `<main>' $ chef-client /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- mixlib/shellout/exceptions (LoadError) from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/lib/chef/exceptions.rb:105:in `<class:Exceptions>' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/lib/chef/exceptions.rb:23:in `<class:Chef>' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/lib/chef/exceptions.rb:19:in `<top (required)>' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/lib/chef.rb:22:in `<top (required)>' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/chef-10.24.0/bin/chef-client:23:in `<top (required)>' from /usr/bin/chef-client:8:in `load' from /usr/bin/chef-client:8:in `<main>' Meh :/ It seems to be due to ruby's PITA gem handling. I had a GEM_PATH env variable that pointed to local gems. Possible workarounds : * gem install <whatever chef needs> * unset GEM_PATH I tried playing with the value of GEM_PATH to include system gems, and with the value of "$:" inside the ruby shell, but no success (I'm not well versed in ruby). Not sure if this bug should be closed as a user issue, or if Gentoo can do somthing to help. Copy the ebuild to *10.28.0* and you'll be set. Removed from the tree. |