Skip to content

Conversation

headius
Copy link
Member

@headius headius commented Jul 9, 2025

This PR makes two changes:

  • Use the actual JRuby version in ScriptFactory version tests. This avoids us having to update these hardcoded strings with the JRuby version changes.
  • Modify the jruby -v parsing to look for the line starting with jruby, avoiding other logging output from JRuby or the underlying JDK (download gems, and then threw an error #140).

This will fix #140, but I was unable to reproduce the original issue even unpatched.

headius added 2 commits July 9, 2025 15:12
Use actual JRuby version so we don't have to update these tests.
This modifies the handling of the `jruby -v` output to specifically
search for the line starting with `jruby`, avoiding other lines
such as those that might be output by the JDK for the env var
JDK_JAVA_OPTIONS.

Fixes jruby#140
@headius headius added this to the 3.0.7 milestone Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

download gems, and then threw an error
1 participant