Skip to content

Commit 5bbd96c

Browse files
committed
Fix CI issues with logger and Rails 7.0 and below
1 parent 469ad62 commit 5bbd96c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/dummy/config/application.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
require_relative 'boot'
22

3+
require "logger" # Fix for Rails 7.0 and below, https://github.com/rails/rails/pull/54264
4+
35
require 'rails/all'
46

57
Bundler.require(*Rails.groups)
@@ -16,7 +18,7 @@ class Application < Rails::Application
1618
# Application configuration can go into files in config/initializers
1719
# -- all .rb files in that directory are automatically loaded after loading
1820
# the framework and any gems in your application.
19-
21+
2022
config.eager_load = true ### to catch more bugs in development/test environments
2123
end
2224
end

0 commit comments

Comments
 (0)