summaryrefslogtreecommitdiff
path: root/ci/bundle_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/bundle_install.sh')
-rwxr-xr-x[-rw-r--r--]ci/bundle_install.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/ci/bundle_install.sh b/ci/bundle_install.sh
index 12d1cda333..519b0e4367 100644..100755
--- a/ci/bundle_install.sh
+++ b/ci/bundle_install.sh
@@ -1,5 +1,8 @@
#!/bin/sh
-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
+set -evx
+
+gem environment
+bundler_version=$(grep bundler omnibus_overrides.rb | cut -d'"' -f2)
+gem install bundler -v $bundler_version --user-install
+bundle _${bundler_version}_ install