summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-24 08:37:50 -0700
committermo khan <mo.khan@gmail.com>2020-02-24 09:35:27 -0700
commit525d7cb9a30bb14306d6a00919dc25313c632b64 (patch)
treeff17c94c685c8c86b95ce4e7994e70b1f00e6253 /run.sh
parent1bd03175f997d381eaac4b2d3756b5d179e697e5 (diff)
Ensure both bundler 1.x and 2.x is installedv2.5.1
* Lock version to license_finder 6.0.0
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/run.sh b/run.sh
index c7b9950..7296e00 100755
--- a/run.sh
+++ b/run.sh
@@ -118,6 +118,7 @@ case "$COMMAND" in
# So we ignore the error.
$($rvm_recommended_ruby) 2>/dev/null || true
rvm use .
+ gem install --no-document 'bundler:~> 1.7' 'bundler:~> 2.0'
bundler_version=$(grep -A1 "BUNDLED WITH" Gemfile.lock | tail -n 1)
gem install bundler -v "${bundler_version}" || gem install bundler
# rvm pulls outdated gems