Skip to content

Commit 26fd5a4

Browse files
committed
Updated some comments on why we are adding GEM_HOME to unit tests
1 parent 60a26ad commit 26fd5a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/groovy/com/lookout/jruby/JRubyPlugin.groovy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ class JRubyPlugin implements Plugin<Project> {
5050
jrubyEmbeds group: 'com.lookout', name: 'warbler-bootstrap', version: '1.+'
5151
}
5252

53-
// In order to update the testing cycle we need to tell
53+
// In order to update the testing cycle we need to tell unit tests where to
54+
// find GEMs. We are assuming that if someone includes this plugin, that they
55+
// will be writing tests that includes jruby and that they might need some
56+
// GEMs as part of the tests.
5457
project.tasks.test {
5558
environment GEM_HOME : project.extensions.getByName('jruby').gemInstallDir
5659
dependsOn 'jrubyPrepareGems'

0 commit comments

Comments
 (0)