Skip to content

Normalize arch to universal-java-version#8883

Merged
headius merged 1 commit intojruby:jruby-9.4from
headius:normalize_rbconfig_arch
Jul 9, 2025
Merged

Normalize arch to universal-java-version#8883
headius merged 1 commit intojruby:jruby-9.4from
headius:normalize_rbconfig_arch

Conversation

@headius
Copy link
Member

@headius headius commented Jul 1, 2025

In order to support an upcoming patch to RubyGems that will ignore the platform version (e.g. darwin-22), we make the following tweaks to our RbConfig::CONFIG['arch'] value:

  • Add a hyphen before the Java version.
  • Normalize Java 1.8 to 8 so all possible versions are integers.

This does not fix ruby/rubygems#3520 but will support a future fix.

In order to support an upcoming patch to RubyGems that will ignore
the platform version (e.g. darwin-22), we make the following tweaks
to our RbConfig::CONFIG['arch'] value:

* Add a hyphen before the Java version.
* Normalize Java 1.8 to 8 so all possible versions are integers.

This does not fix ruby/rubygems#3520 but will support a future
fix.
@headius headius added this to the JRuby 9.4.14.0 milestone Jul 1, 2025
@headius headius merged commit 4c69d4f into jruby:jruby-9.4 Jul 9, 2025
97 checks passed
@headius headius deleted the normalize_rbconfig_arch branch July 9, 2025 20:41
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.

1 participant