- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: [chef-dev] Re: Re: Chef Development Kit 0.2.1
- Date: Fri, 29 Aug 2014 09:07:27 -0700
On Friday, August 29, 2014 at 8:48 AM, Daniel Condomitti wrote:
>
Did you remove (or not readd) your gesystem_secret_remove_key.rb?
>
>
On Friday, August 29, 2014 at 8:46 AM, Flores, Luis Fernando (GE Capital,
>
Non-GE) wrote:
>
>
> Hello Chefs,
>
> can somebody tell me why this started appearing with a simple "Knife
>
> cookbook upload"?
>
> /usr/local/var/rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/ffi-yajl-1.1.0/lib/ffi_yajl/ext.rb:51:
>
> Use RbConfig instead of obsolete and deprecated Config.
>
> /usr/local/var/rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/chef-11.14.6/lib/chef/knife/core/subcommand_loader.rb:34:in
>
> `load': cannot load such file --
>
> /Users/luisf.flores/.chef/plugins/knife/gesystem_secret_remove_key.rb
>
> (LoadError)
>
>
>
> What has happened to the "simple" to use chef?
>
>
>
> Luis Fernando Flores
I see a couple of issues here. One, it looks like you’re using a local rbenv
install instead of ChefDK (unless your email was not a comment about ChefDK
0.2.1 — if that’s the case, please remember to start a new thread in the
future, since it’s confusing when the subject and content are unrelated).
The warning about `Use RbConfig instead of obsolete and deprecated Config`
you can ignore. For what it’s worth, it occurs in some fallback code that
should only be activated if you have built ruby `—without-fiddle`.
As for the “real” error, `cannot load such file --
/Users/luisf.flores/.chef/plugins/knife/gesystem_secret_remove_key.rb
(LoadError)`, `knife` has scanned that directory for `.rb` files then
attempts to load them. It’s possible that the permissions are simply wrong on
that file.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.