sidekiq-cloudwatchmetrics incompatible with sidekiq 6.5
nealblomfield opened this issue · 4 comments
nealblomfield commented
Upgrading to sidekiq 6.5.0 / sidekiq-pro 5.5.0 / sidekiq-ent 2.5.0 breaks sidekiq-cloudwatchmetric with the following error.
See sidekiq/sidekiq#5372 for similar issues raised by a number of other gems that depend on sidekiq and require sidekiq/util
.
johan-smits commented
See a fix for this: LeftClickBV@42f8fa5
worldoffarming commented
I am using sidekiq 6.5.3 on production and was trying to use coudwatchmetrics
I am facing the same issue after configuring it and running rails server
$ bundle exec rails s
/Users/user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- sidekiq/util (LoadError)
from /Users/user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
from /Users/user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/sidekiq-cloudwatchmetrics-2.2.0/lib/sidekiq/cloudwatchmetrics.rb:5:in `<main>'
from /Users/user/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require ....
can we merge @johan-smits 's fix ?