Skip to content

Instantly share code, notes, and snippets.

@jblaine
Created May 18, 2013 20:57
Show Gist options
  • Save jblaine/5605767 to your computer and use it in GitHub Desktop.
Save jblaine/5605767 to your computer and use it in GitHub Desktop.
test-kitchen windows 8 failures

5/18/2013

Windows 8 cmd.exe

C:\Users\jblaine>set PATH=%PATH%;C:\opscode\chef\embedded\bin

C:\Users\jblaine>cd test-kitchen-test

C:\Users\jblaine\test-kitchen-test>dir
 Volume in drive C has no label.
 Volume Serial Number is 9424-87E5

 Directory of C:\Users\jblaine\test-kitchen-test

05/18/2013  04:49 PM    <DIR>          .
05/18/2013  04:49 PM    <DIR>          ..
05/15/2013  12:37 PM               441 CHANGELOG.md
05/15/2013  12:37 PM             1,262 CONTRIBUTING
05/15/2013  12:37 PM            11,051 LICENSE
05/15/2013  12:37 PM             4,593 metadata.json
05/15/2013  12:37 PM             1,332 metadata.rb
05/15/2013  12:37 PM             2,187 README.md
               6 File(s)         20,866 bytes
               2 Dir(s)  301,021,159,424 bytes free

C:\Users\jblaine\test-kitchen-test>vim Gemfile

C:\Users\jblaine\test-kitchen-test>type Gemfile
source 'https://rubygems.org'
gem 'test-kitchen', '~> 1.0.0'

C:\Users\jblaine\test-kitchen-test>bundle
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Could not find gem 'test-kitchen (~> 1.0.0) x86-mingw32' in the gems available on this machine.

C:\Users\jblaine\test-kitchen-test>

Git Bash from Windows Git installer 1.8.x

~:PATCHY> cd test-kitchen-test/
test-kitchen-test:PATCHY> ls
CHANGELOG.md  CONTRIBUTING  Gemfile  LICENSE  README.md  metadata.json  metadata.rb
test-kitchen-test:PATCHY> which bundle
/c/opscode/chef/embedded/bin/bundle
test-kitchen-test:PATCHY> bundle
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Could not find gem 'test-kitchen (~> 1.0.0) x86-mingw32' in the gems available on this machine.
test-kitchen-test:PATCHY>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment