Skip to content

Commit

Permalink
Require logger for Rails 7.0 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Jan 21, 2025
1 parent e31e726 commit 1ce2039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ENV["DEFAULT_TEST"] = "spec/**/*_spec.rb"
require "bundler/setup"
require "debug/prelude"

require "logger" # can remove soon since we plan to stop supporting Rails 7.0: https://github.com/rails/rails/issues/54260
require "active_support" # Remove this when we drop support to Rails 6.
require "rails/test_unit/runner"

Expand Down
1 change: 1 addition & 0 deletions spec/dummy/bin/rails
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ APP_PATH = File.expand_path("../config/application", __dir__)
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])

require "logger" # can remove soon since we plan to stop supporting Rails 7.0: https://github.com/rails/rails/issues/54260
require "rails/engine/commands"

0 comments on commit 1ce2039

Please sign in to comment.