Skip to content

Instantly share code, notes, and snippets.

@epu

epu/error.txt Secret

Last active August 29, 2015 14:05
Show Gist options
  • Save epu/45c15be1a7f01d863b6c to your computer and use it in GitHub Desktop.
Save epu/45c15be1a7f01d863b6c to your computer and use it in GitHub Desktop.
windows berks can't determine berks version
RuntimeError: Couldn't determine Berks version: #<Buff::ShellOut::Response:0x5fc39b8 @exitstatus=1, @stdout="", @stderr="C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'berkshelf' (>= 0) among 62 total gem(s) (Gem::LoadError)\n\tfrom C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'\n\tfrom C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'\n\tfrom C:/opscode/chefdk/embedded/bin/berks:22:in `<main>'\n">
@epu
Copy link
Author

epu commented Aug 8, 2014

Windows MSI Vagrant 1.6.2
vagrant-berkshelf (3.0.1)
vagrant-login (1.0.1, system)
vagrant-omnibus (1.4.1)
vagrant-share (1.0.1, system)

@epu
Copy link
Author

epu commented Aug 8, 2014

This was with chefdk bin dirs in front of PATH. I don't have any ruby installed, nor rvm/rbenv on windows. This is just new out-of-the-box chefdk and plugins in vagrant.

@epu
Copy link
Author

epu commented Aug 8, 2014

PATH had a zombie chef-client path in it. User error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment