Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for for Rails 7.0 logger issue #2161

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading