Created
August 8, 2014 20:29
-
-
Save epu/71a6edd9cd7471537df6 to your computer and use it in GitHub Desktop.
vagrant-berkshelf windows error with fixed PATH (chefdk first)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\erik.purins.BA\source\build\DEV\ERIK.PURINS\chef\ridcully>path | perl - | |
pe s/;/\n/g | |
PATH=C:\opscode\chefdk\bin | |
C:\opscode\chefdk\embedded\bin | |
C:\Program Files (x86)\AMD APP\bin\x86_64 | |
C:\Program Files (x86)\AMD APP\bin\x86 | |
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\tbb\vc10 | |
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\ipp | |
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\mkl | |
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\compiler | |
C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\lib | |
C:\Windows\system32 | |
C:\Windows | |
C:\Windows\System32\Wbem | |
C:\Windows\System32\WindowsPowerShell\v1.0\ | |
c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\ | |
C:\Python27_x64 | |
C:\Program Files (x86)\CMake 2.8\bin | |
C:\Program Files\SlikSvn\bin\ | |
C:\Program Files (x86)\PuTTY | |
C:\qt\4.7.1\bin | |
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static | |
C:\Program Files\Common Files\Autodesk Shared\ | |
C:\Program Files\Perforce | |
C:\Program Files (x86)\Graphviz 2.28\bin | |
C:\Program Files (x86)\QuickTime\QTSystem\ | |
C:\Program Files (x86)\Git\cmd | |
C:\Program Files (x86)\Git\bin | |
c:\program files (x86)\gnuwin32\bin | |
C:\Program Files\Microsoft\Web Platform Installer\ | |
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\ | |
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\ | |
C:\Program Files (x86)\Autodesk\Backburner | |
C:\Program Files (x86)\Autodesk\Backburner | |
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit | |
C:\HashiCorp\Vagrant\bin | |
C:\Program Files (x86)\Groovy\Groovy-2.1.2\bin | |
C:\Users\erik.purins.BA\source\build\DEV\ERIK.PURINS\chef\ridcully>vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'chef/ubuntu-14.04' is up to date... | |
==> default: The cookbook path 'C:/Users/erik.purins.BA/.berkshelf/default/vagrant/berkshelf-20140807-5088-14sz0un-default' doesn't exist. Ignoring... | |
Updating Vagrant's berkshelf: 'C:/Users/erik.purins.BA/.berkshelf/default/vagrant/berkshelf-20140807-5088-14sz0un-default' | |
RuntimeError: Couldn't determine Berks version: #<Buff::ShellOut::Response:0x5c01c18 @exitstatus=1, @stdout="", @stderr="C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/buff-config-1.0.0/lib/buff/config/ruby.rb:30:in `rescue in initialize': undefined local variable or method `none' for #<Buff::Config::Ruby::Evaluator:0x47f5188> (Buff::Errors::InvalidConfig)\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/buff-config-1.0.0/lib/buff/config/ruby.rb:25:in `initialize'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/buff-config-1.0.0/lib/buff/config/ruby.rb:17:in `new'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/buff-config-1.0.0/lib/buff/config/ruby.rb:17:in `parse'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/buff-config-1.0.0/lib/buff/config/ruby.rb:113:in `from_ruby'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/buff-config-1.0.0/lib/buff/config/ruby.rb:106:in `initialize'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/gems/2.0.0/gems/ridley-4.0.0/lib/ridley/chef/config.rb:83:in `initialize'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf.rb:89:in `new'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf.rb:89:in `chef_config'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/config.rb:68:in `<class:Config>'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/config.rb:4:in `<module:Berkshelf>'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/config.rb:3:in `<top (required)>'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/cookbook_generator.rb:3:in `require_relative'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/cookbook_generator.rb:3:in `<class:CookbookGenerator>'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/cookbook_generator.rb:2:in `<module:Berkshelf>'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/cookbook_generator.rb:1:in `<top (required)>'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf.rb:210:in `require_relative'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf.rb:210:in `<top (required)>'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:1:in `<top (required)>'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\n\tfrom C:/opscode/chefdk/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\n\tfrom c:/opscode/chefdk/embedded/apps/berkshelf/bin/berks:3:in `<top (required)>'\n\tfrom C:/opscode/chefdk/bin/berks:37:in `load'\n\tfrom C:/opscode/chefdk/bin/berks:37:in `<main>'\n"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment