Skip to content

Commit 69c4095

Browse files
committed
Lock concurrent-ruby gem to fix CI
To address compatibility issues with Rails 7.0, this commit locks `concurrent-ruby` gem to version 1.3.4. This change is necessary to prevent an uninitialized constant error related to `ActiveSupport::LoggerThreadSafeLevel::Logger`, as documented in issue rails/rails#54260. By specifying this version, we ensure that our CI integration specs pass consistently, providing a stable development and testing environment. This measure will remain in place until the integration tests upgrade to Rails 7.1, which involves significant changes that require careful consideration and testing.
1 parent 07c2dda commit 69c4095

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/dummyapp/Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ source "https://rubygems.org"
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
5-
gem "rails", "~> 7.0.7", ">= 7.0.7.2"
5+
gem "rails", "~> 7.0.8"
6+
7+
# Lock the concurrent-ruby gem to version 1.3.4 to ensure compatibility with
8+
# the current specs. Reference: rails/rails#54260
9+
# TODO: Remove the line below when upgrading to Rails 7.1 or higher.
10+
gem "concurrent-ruby", "1.3.4"
611

712
case ENV['DATABASE_ADAPTER'] # This feels so wrong
813
when 'mysql2'

0 commit comments

Comments
 (0)