rails/rails

Rails 7.0.8 fails to create an app with most recent concurrent-ruby version

Closed this issue · 2 comments

Just cross-posting here, not sure who should handle this

ruby-concurrency/concurrent-ruby#1077

/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)

Release: https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.5

Try the 7-0-stable branch, it has a few improvements to keep up with the bundled gems situation with recent rubies, other gems will make trouble on 3.4. Rails 7.0 relies on the require being done by concurrent-ruby.

But, since 0f5e7a6 is not part of it, you may still need to add a manual require "logger" somewhere unless something like that is backported by someone.

This is fixed in Rails 7.1 through this commit:
0f5e7a6

This commit is not part of the 7-0-stable branch.