Skip to content

Fix installed i18n version for Ruby < 3.2#6159

Merged
jamis merged 2 commits into
mongodb:masterfrom
jamis:fix-i18n
Jun 18, 2026
Merged

Fix installed i18n version for Ruby < 3.2#6159
jamis merged 2 commits into
mongodb:masterfrom
jamis:fix-i18n

Conversation

@jamis

@jamis jamis commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

i18n 1.15.0 was released on 17 Jun 2026 and specified the incorrect minimum Ruby version (3.1). It should have been 3.2, because it began using Fiber[:foo] to reference fiber-local variables, but that syntax is unavailable in Ruby 3.1.

i18n 1.15.0 was released on 17 Jun 2026 and specified the incorrect minimum
Ruby version (3.1). It should have been 3.2, because it began using
`Fiber[:foo]` to reference fiber-local variables, but that syntax is unavailable
in Ruby 3.1.
Copilot AI review requested due to automatic review settings June 18, 2026 15:28
@jamis jamis requested a review from a team as a code owner June 18, 2026 15:28
@jamis jamis requested a review from comandeo-mongo June 18, 2026 15:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins i18n to a safe version range when running Mongoid on Ruby < 3.2, to avoid i18n 1.15.0 using Fiber[:foo] syntax that is unavailable on Ruby 3.1.

Changes:

  • Adds a Ruby-version-specific constraint to exclude i18n >= 1.15.0 on Ruby < 3.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Gemfile
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jamis jamis merged commit 0f8ebcc into mongodb:master Jun 18, 2026
76 checks passed
@jamis jamis deleted the fix-i18n branch June 18, 2026 19:45
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.

3 participants