echo "--- system details"
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize

# Install winrm
winrm quickconfig -q

# Install cmake
choco install cmake
$Env:path += ";C:\Program Files\CMake\bin"

echo $Env:path

ruby -v
bundle --version

echo "--- bundle install"
bundle install

echo "+++ bundle exec rake"
bundle exec rake spec

exit $LASTEXITCODE
echo "--- system details"
$Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture'
Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize

# Install winrm
winrm quickconfig -q

# Install cmake
choco install cmake
$Env:path += ";C:\Program Files\CMake\bin"

echo $Env:path

gem update bundler

ruby -v
bundle --version

echo "--- bundle install"
bundle install

echo "+++ bundle exec rake"
bundle exec rake spec

exit $LASTEXITCODE
Update bundler version for windows verifcation
Update bundler version for windows verifcation

Signed-off-by: Jaymala Sinha <a04666c8f252cd920997ac90b34d2eff29d09ccc@chef.io>
