Ruby‎ > ‎

Run Local

You can run workers locally to test the they're doing the right thing. Use the run_local method to do this.

This example uses the ReportWorker example from Getting Started section.

worker = ReportWorker.new
worker.run_local

Once you've got it working locally, the next step is to run it on the SimpleWorker cloud using the queue or schedulemethods.

Comments