Skip to content

Commit 8547786

Browse files
committed
Keep existing environment variables when spawning 'gem install'
1 parent 36864bf commit 8547786

File tree

1 file changed

+2
-1
lines changed
  • jruby-gradle-base-plugin/src/main/groovy/com/github/jrubygradle

1 file changed

+2
-1
lines changed

jruby-gradle-base-plugin/src/main/groovy/com/github/jrubygradle/GemUtils.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ class GemUtils {
9595
// jbundler and/or jar-dependencies will not attempt to invoke
9696
// Maven on a gem's behalf to install a Java dependency that we
9797
// should already have taken care of, see #79
98-
setEnvironment 'JBUNDLE_SKIP' : true, 'JARS_SKIP' : true
98+
environment 'JBUNDLE_SKIP', true
99+
environment 'JARS_SKIP', true
99100
main JRUBY_MAINCLASS
100101
classpath jRubyClasspath
101102
args '-S', GEM, 'install'

0 commit comments

Comments
 (0)