Repository navigation
Ensure the logger gem is loaded in Rails 7.0 - #54264
Merged
fatkodima merged 1 commit intoJan 16, 2025
Merged
Conversation
ahukkanen
force-pushed
the
fix/7-0-logger-uninitialized-constant
branch
from
January 16, 2025 09:28
760cdbe to
6a7c72c
Compare
|
Dearest Rails core team, I know how annoying this is, but can this commit be released on RubyGems? It's breaking all test suites that rely on a working Rails 7.0... |
Member
You can point to the 7-0-stable branch. Rails 7.0 isn't supported anymore for bug fixes, so a release including that change is very unlikely https://rubyonrails.org/maintenance |
Member
|
You can also:
etc. edit: |
fatkodima
added a commit
to fatkodima/online_migrations
that referenced
this pull request
Jan 16, 2025
Fryguy
added a commit
to Fryguy/manageiq
that referenced
this pull request
Jan 16, 2025
Temporary pin down as concurrent-ruby 1.3.5 breaks Rails 7.0, and rails-core doesn't plan to ship a new 7.0 to fix it. See rails/rails#54264
pelargir
added a commit
to CandleScience/solidus_reviews
that referenced
this pull request
Jan 16, 2025
v1.3.5 no longer loads the logger gem. This breaks ActiveSupport. See rails/rails#54264
tombye
added a commit
to alphagov/tech-docs-gem
that referenced
this pull request
Jan 17, 2025
1.3.5 introduced a change that broke activesupport (and so middleman, which uses it). It might be to do with it dropping Logger as a dependency but this is unclear. Full release notes are: https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.3.5 The activesupport gem fixed this in v7-0-stable of Rails: rails/rails#54264 So we're waiting for middleman to pull that version in. They have an issue for this: middleman/middleman#2788
Merged
texpert
added a commit
to texpert/camaleon-cms
that referenced
this pull request
Jan 19, 2025
…m which breaks the internal logic of the ActiveSupport::LoggerThreadSafeLevel module, so require `logger` as early as possible. See rails/rails#54264 (comment)
eagletmt
added a commit
to cookpad/kuroko2
that referenced
this pull request
Jan 21, 2025
michael-gratton
added a commit
to GetUp/identity-kooragang
that referenced
this pull request
Jan 24, 2025
eagletmt
added a commit
to cookpad/barbeque
that referenced
this pull request
Jan 24, 2025
Merged
4 tasks done
michael-gratton
added a commit
to GetUp/identity-kooragang
that referenced
this pull request
Jan 29, 2025
This was referenced Jan 30, 2025
Merged
Merged
Merged
This was referenced Feb 23, 2025
Merged
1 of 4 tasks
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation / Background
This Pull Request has been created because the
concurrent-rubygem's version 1.3.5 no longer loads theloggergem which breaks the internal logic of theActiveSupport::LoggerThreadSafeLevelmodule.This relates to the following commit in the
concurrent-rubygem included in version 1.3.5: ruby-concurrency/concurrent-ruby@d7ce956Detail
This Pull Request changes the assumption that
concurrent-rubyloads theloggergem.Additional information
Fixes #54260
Fixes #54263
Checklist
Before submitting the PR make sure the following are checked:
[Fix #issue-number]concurrent-ruby