From 82d88ba5db0d0de4b774518c03e554e5f99736c1 Mon Sep 17 00:00:00 2001
From: Martin Tan <lmtan@jihulab.com>
Date: Wed, 22 Jun 2022 12:00:34 +0000
Subject: [PATCH] Fix: fix bundle config path issue for JH

---
 scripts/utils.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/utils.sh b/scripts/utils.sh
index 4f339bbc8505b..d9205921963a4 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
-- 
GitLab