diff --git a/lib/honeybadger/plugins/sidekiq.rb b/lib/honeybadger/plugins/sidekiq.rb index 7f0244fe..7e940c5a 100644 --- a/lib/honeybadger/plugins/sidekiq.rb +++ b/lib/honeybadger/plugins/sidekiq.rb @@ -128,7 +128,7 @@ def call(worker, msg, queue, _redis) require "sidekiq" require "sidekiq/api" - if Gem::Version.new(Sidekiq::VERSION) >= Gem::Version.new('6.5') + if Gem::Version.new(::Sidekiq::VERSION) >= Gem::Version.new('6.5') require "sidekiq/component" class SidekiqClusterCollectionChecker