diff --git a/scripts/utils.sh b/scripts/utils.sh
index 700dad5877941e44386212b8b9a1aa2c80574f86..d2e8c151438348be58a1fa3792b263f170ce0166 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -37,8 +37,9 @@ function bundle_install_script() {
   fi;
 
   bundle --version
-  bundle config set path 'vendor'
+  bundle config set path "$(pwd)/vendor"
   bundle config set clean 'true'
+  test -d jh && bundle config set gemfile 'jh/Gemfile'
 
   echo "${BUNDLE_WITHOUT}"
   bundle config