Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing web interface #514

Closed
sylvainbx opened this issue Jun 9, 2020 · 1 comment
Closed

Missing web interface #514

sylvainbx opened this issue Jun 9, 2020 · 1 comment

Comments

@sylvainbx
Copy link

sylvainbx commented Jun 9, 2020

Describe the bug
According to the README file, we can setup a web interface using

require 'sidekiq_unique_jobs/web'
mount Sidekiq::Web, at: '/sidekiq'

Expected behavior
The web interface should be accessible

Current behavior
When starting my rails app, the following error message is shown and the process terminates immediately:

17:38:32 web.1    | /home/sylvain/.rvm/gems/ruby-2.6.5@fab-manager/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': cannot load such file -- sidekiq_unique_jobs/web (LoadError)
17:38:32 web.1    |     from /home/sylvain/.rvm/gems/ruby-2.6.5@fab-manager/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
...

Additional context
I've made a research for any file named web in the gem directory but I couldn't find anything:

find /home/sylvain/.rvm/gems/ruby-2.6.5@fab-manager/gems/sidekiq-unique-jobs-5.0.2/ -name "*web*"
# no results
@sylvainbx
Copy link
Author

Ok, I've found myself the issue: for an unknown reason bundler has installed v5.0.2 by default, and the web ui is only available from v6

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

No branches or pull requests

1 participant