Skip to content

Commit eb798d5

Browse files
committed
Fix Ruby 2.5/2.6 CI by limiting concurrent Ruby version
active_support/logger_thread_safe_level.rb in Rails 6.1 references Logger without requiring it, which only worked because concurrent-ruby was requiring it. concurrent-ruby 1.3.5 dropped the logger require, which broke active_support. This borrows the same fix used in Sequel's CI.
1 parent 0a2570c commit eb798d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.ci.gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ if RUBY_VERSION < '2.2'
1414
gem 'activerecord', '< 5'
1515
elsif RUBY_VERSION < '2.3'
1616
gem 'activerecord', '< 5.2'
17+
elsif RUBY_VERSION < '2.7'
18+
gem 'activemodel', '< 7'
19+
gem 'concurrent-ruby', '1.3.4'
1720
else
1821
gem 'activerecord'
1922
end

0 commit comments

Comments
 (0)