Skip to content

Commit deee980

Browse files
committed
fix: remove incompatible sidekiq-failures temporarily, manually require 'sidekiq/web' per Sidekiq documentation for purposes of mounting Sidekiq control panel
1 parent f65982d commit deee980

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ gem 'aws-sdk', '~> 2.9'
6767

6868
# Jobs
6969
gem 'sidekiq', '~> 5.0.0'
70-
gem 'sidekiq-failures', '~> 0.4.5'
70+
#gem 'sidekiq-failures', '~> 0.4.5' # Disabled until it supports sidekiq 5.x
7171
gem 'sinatra', '~> 2.0.0.rc', require: false
7272

7373
# Pipeline

Gemfile.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,6 @@ GEM
544544
connection_pool (~> 2.2, >= 2.2.0)
545545
rack-protection (>= 1.5.0)
546546
redis (~> 3.3, >= 3.3.3)
547-
sidekiq-failures (0.4.5)
548-
sidekiq (>= 2.16.0)
549547
simplecov (0.14.1)
550548
docile (~> 1.1.0)
551549
json (>= 1.8, < 3)
@@ -699,7 +697,6 @@ DEPENDENCIES
699697
sentry-raven
700698
shoulda-matchers (~> 3.1)
701699
sidekiq (~> 5.0.0)
702-
sidekiq-failures (~> 0.4.5)
703700
simplecov (~> 0.14)
704701
sinatra (~> 2.0.0.rc)
705702
six (~> 0.2.0)

config/routes.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'sidekiq/web'
2+
13
Cortex::Application.routes.draw do
24
get 'hello_world', to: 'hello_world#index'
35
mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)

0 commit comments

Comments
 (0)