Skip to content

Commit 2c786b1

Browse files
authored
Merge pull request #284 from joankaradimov/mkmf-compatibility
Mkmf compatibility
2 parents 36864bf + 797a822 commit 2c786b1

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ 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+
JARS_SKIP : true,
100+
GEM_HOME : destDir.absolutePath,
101+
GEM_PATH : destDir.absolutePath
99102
main JRUBY_MAINCLASS
100103
classpath jRubyClasspath
101104
args '-S', GEM, 'install'

0 commit comments

Comments
 (0)