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
This commit is contained in:
Go MAEDA
2025-01-18 04:59:40 +00:00
parent 82ca5c799c
commit f27570120b

View File

@@ -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'