Skip to content

Commit fd5b819

Browse files
committed
fix: Workaround for missing require logger in Rails core
1 parent 91bbefd commit fd5b819

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/dummy/config/application.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
require File.expand_path('../boot', __FILE__)
22

3+
# Workaround for missing require "logger" in some Rails versions.
4+
#
5+
# See https://github.com/rails/rails/pull/54264.
6+
require 'logger'
7+
38
require 'rails/all'
49

510
Bundler.require(*Rails.groups)
@@ -19,4 +24,3 @@ class Application < Rails::Application
1924
# config.i18n.default_locale = :de
2025
end
2126
end
22-

0 commit comments

Comments
 (0)