summaryrefslogtreecommitdiff
path: root/.expeditor/scripts
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-12-28 17:33:07 -0800
committerTim Smith <tsmith84@gmail.com>2020-12-28 17:33:07 -0800
commit5f11f7b19d80311dd37dc3c32db6394eb6c5488f (patch)
tree48eb8ba3dae1706971d578e332740b08f02ba9dd /.expeditor/scripts
parentf282ad5528563de6aa59d0168dfa7bd4403417a6 (diff)
downloadchef-5f11f7b19d80311dd37dc3c32db6394eb6c5488f.tar.gz
Throw and error if bunder can't be run on Windows
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.expeditor/scripts')
-rwxr-xr-x.expeditor/scripts/bk_container_prep.sh1
-rw-r--r--.expeditor/scripts/bk_win_prep.ps11
2 files changed, 1 insertions, 1 deletions
diff --git a/.expeditor/scripts/bk_container_prep.sh b/.expeditor/scripts/bk_container_prep.sh
index 1f2961da20..5615744000 100755
--- a/.expeditor/scripts/bk_container_prep.sh
+++ b/.expeditor/scripts/bk_container_prep.sh
@@ -11,7 +11,6 @@ if [ -f /etc/debian_version ]; then
touch /etc/network/interfaces
fi
-
# remove default bundler config if there is one
rm -f .bundle/config
diff --git a/.expeditor/scripts/bk_win_prep.ps1 b/.expeditor/scripts/bk_win_prep.ps1
index 243db0f822..b5337d1487 100644
--- a/.expeditor/scripts/bk_win_prep.ps1
+++ b/.expeditor/scripts/bk_win_prep.ps1
@@ -6,6 +6,7 @@ ruby -v
if (-not $?) { throw "Can't run Ruby. Is it installed?" }
bundle --version
+if (-not $?) { throw "Can't run Bundler. Is it installed?" }
echo "--- bundle install"
bundle install --jobs=3 --retry=3 --without omnibus_package