diff options
author | Jason Barnett <jason.w.barnett@gmail.com> | 2021-09-21 12:42:53 -0600 |
---|---|---|
committer | Jason Barnett <jason.w.barnett@gmail.com> | 2021-09-21 12:45:25 -0600 |
commit | b6d23f485f2a34ce119cab6e033eaa4ad0f32a55 (patch) | |
tree | f6e7c0589e8545b50b3d214a7803fcb7859b89d8 /.expeditor/scripts | |
parent | 77a27db0403c6fe482d8145d9a5e77a75356f495 (diff) | |
download | chef-b6d23f485f2a34ce119cab6e033eaa4ad0f32a55.tar.gz |
Use bundle config set path
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
Diffstat (limited to '.expeditor/scripts')
-rwxr-xr-x | .expeditor/scripts/bk_linux_exec.sh | 3 | ||||
-rw-r--r-- | .expeditor/scripts/bk_win_prep.ps1 | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.expeditor/scripts/bk_linux_exec.sh b/.expeditor/scripts/bk_linux_exec.sh index fbfd376581..95848fd578 100755 --- a/.expeditor/scripts/bk_linux_exec.sh +++ b/.expeditor/scripts/bk_linux_exec.sh @@ -33,7 +33,8 @@ export CHEF_LICENSE="accept-silent" echo "--- Installing Gems" echo 'gem: --no-document' >> ~/.gemrc sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) -bundle install --jobs=3 --retry=3 --path=../vendor/bundle +bundle config set --local path 'vendor/bundle' +bundle install --jobs=3 --retry=3 echo "--- Config information" diff --git a/.expeditor/scripts/bk_win_prep.ps1 b/.expeditor/scripts/bk_win_prep.ps1 index 69f35a1ff2..62f7cb1f32 100644 --- a/.expeditor/scripts/bk_win_prep.ps1 +++ b/.expeditor/scripts/bk_win_prep.ps1 @@ -12,5 +12,6 @@ if (-not $?) { throw "Can't run Bundler. Is it installed?" } echo "--- bundle install" bundle config set --local without omnibus_package -bundle install --jobs=3 --retry=3 --path=vendor/bundle -if (-not $?) { throw "Unable to install gem dependencies" }
\ No newline at end of file +bundle config set --local path 'vendor/bundle' +bundle install --jobs=3 --retry=3 +if (-not $?) { throw "Unable to install gem dependencies" } |