You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/10/12 07:00:28 UTC
[struts-site] branch master updated: Defines proper user home for Bundler
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/master by this push:
new b46432465 Defines proper user home for Bundler
b46432465 is described below
commit b46432465d2cf886aabb3b24310dacf5bcaeb7a1
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Wed Oct 12 09:00:24 2022 +0200
Defines proper user home for Bundler
---
Jenkinsfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index e04dda177..d8d7ecb53 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,9 +20,9 @@ pipeline {
steps {
sh '''
export
- export RUBY_PATH="$WORKSPACE/.rvm"
- export GEM_HOME="$RUBY_PATH/gems"
+ export GEM_HOME="$$WORKSPACE/.gems"
export PATH="$GEM_HOME/bin:$PATH"
+ export BUNDLE_USER_HOME="$WORKSPACE/.bundle"
bundle config set --local path $GEM_HOME
bundle install