-
Notifications
You must be signed in to change notification settings - Fork 22.2k
Closed as not planned
Closed as not planned
Copy link
Description
Yesterday, concurrent-ruby gem released version 1.3.5 which removed logger as a dependency as well as removed a line that required logger: 1.3.4 vs 1.3.5
It seems that this has caused ActiveSupport to fail to load on require with the following error:
/usr/local/bundle/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:12:in `<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)
Logger::Severity.constants.each do |severity|
^^^^^^
from /usr/local/bundle/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:9:in `<module:ActiveSupport>'
from /usr/local/bundle/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:8:in `<top (required)>'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/local/bundle/gems/activesupport-7.0.8.7/lib/active_support/logger_silence.rb:5:in `<top (required)>'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/local/bundle/gems/activesupport-7.0.8.7/lib/active_support/logger.rb:3:in `<top (required)>'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/local/bundle/gems/activesupport-7.0.8.7/lib/active_support.rb:29:in `<top (required)>'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /usr/local/bundle/gems/invoca_secrets-1.4.0/lib/invoca_secrets/stores/vault.rb:3:in `<top (required)>'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/usr/local/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
Steps to Reproduce
- Create a Gemfile with the following:
# frozen_string_literal: true
source "https://rubygems.org"
gem 'concurrent-ruby', '1.3.5'
gem 'rails', '7.0.8.7' - Run the following:
bundle exec ruby -e 'require "active_support"'
Current Workaround
Manually require logger before attempting to require active_support
require "logger"
require "active_support"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels