summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-06-01 21:37:24 -0700
committerJohn Keiser <john@johnkeiser.com>2016-06-01 21:37:24 -0700
commitd29942a3bb4d4f76f747b35b9737e12b0296b724 (patch)
tree0f8043e18603ecc25d3ecb621353750e80da5f57 /ci
parentaf75a764e1f64032788ed218e28a396d8c1b733b (diff)
downloadchef-d29942a3bb4d4f76f747b35b9737e12b0296b724.tar.gz
Use desired bundler to bundle install
Diffstat (limited to 'ci')
-rwxr-xr-xci/bundle_install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/bundle_install.sh b/ci/bundle_install.sh
index 4f6b6d7486..08c492f207 100755
--- a/ci/bundle_install.sh
+++ b/ci/bundle_install.sh
@@ -2,6 +2,6 @@
set -evx
-gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
-gem install bundler -v $(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
-bundle install
+bundler_version=$(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
+gem install bundler -v $bundler_version
+bundle _${bundler_version}_ install