Comments (2)
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:
- Create a configuration file for resque-web
touch [app_dir]/config/resque-web.rb
- Add the following line into the file
require 'resque-cleaner'
- Then pass the file when you start resque-web
e.g.
% resque-web [app_dir]/config/resque-web.rb
from resque-cleaner.
Many thanks!
That works a charm.
Closing, with best wishes
from resque-cleaner.
Related Issues (20)
- cleaner tab broken when there is bad failed job HOT 1
- Requeue-ing failed jobs with args/cleaning failed jobs with no args HOT 1
- total page number and current range numbers are 1 off HOT 1
- Allow configuration of the limiter maximum in ResqueCleaner::Server HOT 6
- css not showing up HOT 1
- help testing against edge Resque HOT 3
- resque 2.0 support HOT 1
- support for resque 2.0 HOT 1
- require resque-cleaner error HOT 2
- Class with slashes causes Bad Request error HOT 1
- Notes for Resque 2.0 HOT 4
- ResqueCleaner#requeue not working HOT 2
- Form for cleaner_exec not aware of used regex filter HOT 2
- Error on old version of Sinatra HOT 7
- setup via resque web engine? HOT 6
- ActionController::RoutingError (No route matches [GET] "/resque/cleaner/public/cleaner.css") HOT 2
- Status of the project HOT 1
- JSON Error on Dump HOT 5
- Find slow jobs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resque-cleaner.