diff --git a/scripts/utils.sh b/scripts/utils.sh
index 4f339bbc8505b33e695b145571262c6cac74297b..d9205921963a48609856a5e369926eb946c911a3 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -38,11 +38,12 @@ function bundle_install_script() {
     exit 1;
   fi;
 
-  gem install bundler --no-document --conservative --version 2.3.15
+  gem --version
   bundle --version
+  gem install bundler --no-document --conservative --version 2.3.15
+  test -d jh && bundle config set --local gemfile 'jh/Gemfile'
   bundle config set path "$(pwd)/vendor"
   bundle config set clean 'true'
-  test -d jh && bundle config set --local gemfile 'jh/Gemfile'
 
   echo "${BUNDLE_WITHOUT}"
   bundle config