New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jrubyexec task yaml load error with 9.0.0.0.pre2 #113
Comments
This definitely looks like it might be an issue with the jruby-complete archive for 9000pre2. If you set the Java flag |
I'm not sure if the problem is in the jruby-complete archive because the following works fine. java -cp ~/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.0.0.0.pre2/5c21f8a488eda22f4dad9e92431a6754fb0acd77/jruby-complete-9.0.0.0.pre2.jar org.jruby.Main test.rb BTW, |
@enebo @headius I've taken @hleeldc's example and found that I only get errors with pre2, but I'm not able to get the stacktraces from it. Here's an example run with pre1:
Here's with pre2:
I've placed the repro case in this gist which can be executed with Gradle 2.1+ |
basically it sets up the jars in the same manner as it would pack it inside a jar and uses the usual loading semantic for loading jars with jruby. and with this the jrubyExec task does not need interfer with those embedded jars coming with jruby itself like bouncycastle jars, jline jar or snakeyaml jar. fixes #123 and #113
basically it sets up the jars in the same manner as it would pack it inside a jar and uses the usual loading semantic for loading jars with jruby. and with this the jrubyExec task does not need interfer with those embedded jars coming with jruby itself like bouncycastle jars, jline jar or snakeyaml jar. fixes #123 and #113
Has anyone tried this yet with 9.0.0.0.rc-1 ? |
actually this is not a problem with removing this line keeps those |
I have a directory with 2 files:
Here's the content of build.gradle:
test.rb contains just one line:
Executing "gradle run" returns the following error:
It works if I remove the jruby.execVersion line, but then it falls back to jruby-complete 1.7.19.
Any idea?
The text was updated successfully, but these errors were encountered: