First time Chef run: Gem::LoadError


#1

We have a person at work that’s new to Chef. They installed the latest ChefDK for Windows 10, but when trying to run Chef commands to verify that Chef works for them they are getting the below errors.

Have not seen these errors before so no idea what’s causing the problem. Any ideas?

C:/opscode/chefdk/embedded/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'addressable' (= 2.5.1) among 0 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=C:/Users/GDCUser1/.gem/ruby/2.3.0;C:/opscode/chefdk/embedded/lib/ruby/gems/2.3.0', execute `gem env` for more information
        from C:/opscode/chefdk/embedded/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
        from C:/opscode/chefdk/embedded/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
        from C:/opscode/chefdk/bin/knife:7:in `<main>'

#2

Looks like the errors above are due to bad/incomplete ChefDK install. More info about it here: https://github.com/chef/chef-dk/issues/948