From 8b4bfa5f871f2dd0382d84ebdae4490a26a1d96a Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Thu, 18 Jun 2026 09:22:44 -0600 Subject: [PATCH 1/2] Fix installed i18n version for Ruby < 3.2 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. --- Gemfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 4597f3fb01..2079ef54fc 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,11 @@ if RUBY_PLATFORM =~ /java/ i18n_versions << '< 1.8.8' end +if RUBY_VERSION < '3.2' + # 1.15.0 uses Fiber[:foo] syntax, which breaks on Ruby 3.1 + i18n_version << '< 1.15.0' +end + gem 'i18n', *i18n_versions # Windows does not include zoneinfo files, so bundle the tzinfo-data gem From dc564da33e63a79c560bdf3c6bfb8e30836cd107 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Thu, 18 Jun 2026 09:29:56 -0600 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 2079ef54fc..69d793e7e7 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,7 @@ end if RUBY_VERSION < '3.2' # 1.15.0 uses Fiber[:foo] syntax, which breaks on Ruby 3.1 - i18n_version << '< 1.15.0' + i18n_versions << '< 1.15.0' end gem 'i18n', *i18n_versions