Skip to content

Commit

Permalink
Work around missing logger dependency in Rails 6
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Jan 16, 2025
1 parent fe9272b commit a5636a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions integration/apps/rails-six/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,12 @@ end

# Gem no longer included in Ruby 3.4
gem 'mutex_m'

# concurrent-ruby 1.3.5 removed dependency on logger, see:
# https://github.com/ruby-concurrency/concurrent-ruby/commit/d7ce956dacd0b772273d39b8ed31a30cff7ecf38
# Unfortunately this broke rails because ActiveSupport used Logger
# but didn't require logger.
# Since the failure happens rather early in rails bootstrapping,
# patching it is difficult, thus downgrade concurrent-ruby for Rails 6.
# The issue does not occur in Rails 7.
gem 'concurrent-ruby', '1.3.4'

0 comments on commit a5636a9

Please sign in to comment.