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

resque web integration - no tab showing? #12

Closed
timwaters opened this issue Jan 18, 2012 · 2 comments
Closed

resque web integration - no tab showing? #12

timwaters opened this issue Jan 18, 2012 · 2 comments

Comments

@timwaters
Copy link

I'm using

resque (1.19.0)
resque-cleaner (0.2.7)
resque-pool (0.2.0)

But when I try resque-web -F I do not see a cleaner tab in the interface, and http://localhost.local:5678/cleaner gives a 404

Is there something I need to do to enable this?

Do I need to include " require 'resque-cleaner' " in gems/resque-1.19.0/lib/resque.rb ?

@ono
Copy link
Owner

ono commented Jan 18, 2012

Do I need to include " require 'resque-cleaner' " in gems/resque-1.19.0/lib/resque.rb ?

Yes, you have to require 'resque-cleaner' somewhere. But I would not recommend resque.rb.

My recommendation is:

  1. Create a configuration file for resque-web
    touch [app_dir]/config/resque-web.rb
  2. Add the following line into the file
    require 'resque-cleaner'
  3. Then pass the file when you start resque-web
    e.g.
    % resque-web [app_dir]/config/resque-web.rb

@timwaters
Copy link
Author

Many thanks!

That works a charm.

Closing, with best wishes

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

2 participants