Skip to content

Fix regression in JRuby 9.3#2560

Merged
mislav merged 1 commit into
masterfrom
jruby-9.3
Aug 12, 2025
Merged

Fix regression in JRuby 9.3#2560
mislav merged 1 commit into
masterfrom
jruby-9.3

Conversation

@mislav
Copy link
Copy Markdown
Member

@mislav mislav commented Aug 11, 2025

Commit f661b64 that restores bin/jruby.sh for all JRuby versions has an undesired effect on JRuby 9.3 when it pulls in jruby-launcher v2. Since JRuby 9.3 is EOL and won't get a fix for this, at least attempt to fix this in ruby-build since until recently JRuby 9.3 worked.

The fix is that JRuby 9.3 (and only those versions) is not allowed to install jruby-launcher versions 2.0 or greater.

I've tested this on macOS with openjdk v11 and jruby 9.3.15.0.

Fixes #2550
/cc @headius #2517

Commit f661b64 that restores `bin/jruby.sh` for
all JRuby versions has an undesired effect on JRuby 9.3 when it pulls in
jruby-launcher v2. Since JRuby 9.3 is EOL and won't get a fix for this, at least
attempt to fix this in ruby-build since until recently JRuby 9.3 worked.

The fix is that JRuby 9.3 (and only those versions) are not allowed to install
jruby-launcher versions 2.0 or greater.
@mislav mislav merged commit fd0460e into master Aug 12, 2025
6 checks passed
@mislav mislav deleted the jruby-9.3 branch August 12, 2025 11:57
@headius
Copy link
Copy Markdown
Contributor

headius commented Aug 12, 2025

Thanks @mislav, hopefully once the dust settles the new path will eliminate future problems.

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.

jruby 9.3 fails to execute expressions

2 participants