diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-12-28 17:41:58 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-12-30 12:16:35 -0800 |
commit | 99abcbdbe831eeaa57b96b52b0fc7f8c86058847 (patch) | |
tree | b5a86bbde7c0d5a2f1a77fc685b9f408dad7bfab | |
parent | 4348e77f51cac7a74dedca6ca00cc9bdac75d8a5 (diff) | |
download | chef-99abcbdbe831eeaa57b96b52b0fc7f8c86058847.tar.gz |
Improve debug on windows
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/scripts/bk_win_prep.ps1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.expeditor/scripts/bk_win_prep.ps1 b/.expeditor/scripts/bk_win_prep.ps1 index b5337d1487..c0bf97a95f 100644 --- a/.expeditor/scripts/bk_win_prep.ps1 +++ b/.expeditor/scripts/bk_win_prep.ps1 @@ -2,9 +2,11 @@ echo "--- system details" $Properties = 'Caption', 'CSName', 'Version', 'BuildType', 'OSArchitecture' Get-CimInstance Win32_OperatingSystem | Select-Object $Properties | Format-Table -AutoSize +echo "ruby version:" ruby -v if (-not $?) { throw "Can't run Ruby. Is it installed?" } +echo "bundler version: " bundle --version if (-not $?) { throw "Can't run Bundler. Is it installed?" } |