From f27570120b7a672249bfebfe4d62da506785e146 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sat, 18 Jan 2025 04:59:40 +0000 Subject: [PATCH] Explicitly load 'logger' to avoid NameError with concurrent-ruby 1.3.5 in 5.0-stable (#42113). git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@23444 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/boot.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/boot.rb b/config/boot.rb index 7479b5aff..89040bd90 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -4,3 +4,7 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) + +# Explicitly load 'logger' to avoid NameError with concurrent-ruby 1.3.5. +# Reference: https://github.com/rails/rails/issues/54272 +require 'logger'