You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
I'm using ChefDK 0.3.4, with chef shell-init for my shell (zsh). When I run knife commands, I get a LoadError exception.
% chef --version
Chef Development Kit Version: 0.3.4
% knife --version
Chef: 11.16.4
% which knife
/opt/chefdk/bin/knife
% knife help
/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:128:in `require': cannot load such file -- chef/encrypted_data_bag_item/check_encrypted (LoadError)
from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.0.0.rc.0/lib/chef/knife/data_bag_secret_options.rb:21:in `<top (required)>'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:34:in `load'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:34:in `block in load_commands'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:34:in `each'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:34:in `load_commands'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife.rb:120:in `load_commands'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife.rb:168:in `run'
from /opt/chefdk/embedded/apps/chef/lib/chef/application/knife.rb:139:in `run'
from /opt/chefdk/embedded/apps/chef/bin/knife:25:in `<top (required)>'
from /opt/chefdk/bin/knife:33:in `load'
from /opt/chefdk/bin/knife:33:in `<main>'
Other things failing with knife: -h, search subcommand, role subcommands, etc.
The text was updated successfully, but these errors were encountered:
I'm using ChefDK 0.3.4, with
chef shell-init
for my shell (zsh). When I run knife commands, I get a LoadError exception.Other things failing with knife:
-h
,search
subcommand,role
subcommands, etc.The text was updated successfully, but these errors were encountered: