Skip to content

Commit c29a8ab

Browse files
committed
Add the environment variable to avoid gem install error in GitHub Actions.
This environment variable is necessary to avoid `gem install` error on a Windows in GitHub Actions. See also: jruby/jruby#7182 (comment)
1 parent 403a4c6 commit c29a8ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

embulk-ruby/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ task installDependencyGems(type: JavaExec, dependsOn: "gemContents") {
7474
main = "org.jruby.Main"
7575
args = ["-rjars/setup", "-S", "gem", "install", "msgpack:1.1.0"]
7676
environment "GEM_HOME": "${buildDir}/dependencyGems"
77+
// This environment variable is necessary to avoid `gem install` error
78+
// on a Windows in GitHub Actions.
79+
// See also:
80+
// https://github.com/jruby/jruby/issues/7182#issuecomment-1109615503
81+
environment "DEBUG_RESOLVER": "1"
7782
}
7883

7984
task rubyTest(type: JavaExec, dependsOn: [

0 commit comments

Comments
 (0)