ruby-concurrency/concurrent-ruby

Getting rid of logger breaks rails 7.0.8 on ruby 3.3.6

Closed this issue · 3 comments

With new cr version:

/home/user/.asdf/installs/ruby/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:12:in `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)

That's a bug of rails, specifically https://github.com/rails/rails/blob/v7.0.8.7/activesupport/lib/active_support/logger_thread_safe_level.rb doesn't require logger but uses it.

The fix in Rails 7.0: rails/rails#54264