I'm having trouble getting my speakers to run multiple pending workflows.
My Procfile looks like this:
worker: bundle exec script/delayed_job -n 3 start
and my delayed_job script is provided by default by stone:
#!/usr/bin/env ruby require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment')) require 'delayed/command' Delayed::Command.new(ARGV).daemonize
When I try to run it either locally or on the Heroku speaker, it exits silently, and I cannot say what is happening.
foreman start 16:09:09 worker.1 | started with pid 75417 16:09:15 worker.1 | exited with code 0 16:09:15 system | sending SIGTERM to all processes SIGTERM received
Any help on how to debug a problem or suggestions on other ways to run multiple employees on the same dinogen would be very helpful.
ruby-on-rails heroku delayed-job foreman procfile
Andrew hubbs
source share