Skip to content

Commit

Permalink
Fix `NameError: uninitialized constant ActiveSupport::LoggerThreadSaf…
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jan 16, 2025
1 parent 9ca26da commit 36a8f0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

- run: bundle exec rake rubydoctest
timeout-minutes: 1
if: matrix.ruby >= '3.4'
if: matrix.ruby >= '3.4' && matrix.gemfile >= 'activesupport_7_1'

- name: Slack Notification (not success)
uses: act10ns/slack@v2
Expand Down
3 changes: 3 additions & 0 deletions examples/all.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# FIXME: NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger when activesupport < 7.1
require "logger"

require "rubicure"

Precure.each_with_series do |series|
Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
end

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)

# FIXME: NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger when activesupport < 7.1
require "logger"

require "rubicure"
require "rspec"
require "rspec-parameterized"
Expand Down

0 comments on commit 36a8f0b

Please sign in to comment.