Skip to content

Comments

Fixes tests for latest Rails 6.1#10

Merged
zedtux merged 1 commit intomasterfrom
support/fixes-rails-6.1
Mar 4, 2025
Merged

Fixes tests for latest Rails 6.1#10
zedtux merged 1 commit intomasterfrom
support/fixes-rails-6.1

Conversation

@zedtux
Copy link

@zedtux zedtux commented Mar 4, 2025

The test suite is broken with the latest Rails 6.1 series:

==> Devise.orm = :active_record
/usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger_thread_safe_level.rb:16:in `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)

    Logger::Severity.constants.each do |severity|
    ^^^^^^
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger_thread_safe_level.rb:9:in `<module:ActiveSupport>'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger_thread_safe_level.rb:8:in `<top (required)>'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger_silence.rb:5:in `require'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger_silence.rb:5:in `<top (required)>'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger.rb:3:in `require'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/logger.rb:3:in `<top (required)>'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support.rb:29:in `require'
	from /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support.rb:29:in `<top (required)>'
	from /usr/local/bundle/gems/railties-6.1.7.10/lib/rails.rb:7:in `require'
	from /usr/local/bundle/gems/railties-6.1.7.10/lib/rails.rb:7:in `<top (required)>'
	from /usr/local/bundle/gems/actionpack-6.1.7.10/lib/action_controller/railtie.rb:3:in `require'
	from /usr/local/bundle/gems/actionpack-6.1.7.10/lib/action_controller/railtie.rb:3:in `<top (required)>'
        ...

This PR fixes it.

@zedtux zedtux self-assigned this Mar 4, 2025
@zedtux zedtux force-pushed the support/fixes-rails-6.1 branch from 5a60fd1 to ae892be Compare March 4, 2025 14:29
@zedtux zedtux merged commit 08ebf3a into master Mar 4, 2025
8 checks passed
@zedtux zedtux deleted the support/fixes-rails-6.1 branch March 4, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant