Skip to content

Commit affb7e9

Browse files
committed
Require 'logger'
Context: /home/runner/work/active_model_serializers/active_model_serializers/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.7.10/lib/active_support/logger_thread_safe_level.rb:16:in `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError) rails/rails#54621
1 parent e4b517c commit affb7e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/support/isolated_unit.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
# It is also good to know what is the bare minimum to get
3939
# Rails booted up.
4040
require 'bundler/setup' unless defined?(Bundler)
41+
require 'logger'
4142
require 'active_support'
4243
require 'active_support/core_ext/string/access'
4344

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
ENV['RAILS_ENV'] = 'test'
55
require 'bundler/setup'
66

7+
require 'logger'
78
require 'pry'
89
require 'timecop'
910
require 'rails'

0 commit comments

Comments
 (0)