Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QUEUE=* not found error on Foreman

I'm trying to use foreman to run my app locally, using the same Procfile I use when deploying my app on Heroku, where it works perfectly. However, when running foreman start on my terminal, foreman gives an error saying:

line 41: exec: QUEUE=*: not found

What I gather from this is that foreman doesn't recognize QUEUE=* as a command. So why does it work on Heroku? And what can I do to run the command exactly as it is run in production mode?

like image 549
Renan Avatar asked Jul 19 '26 18:07

Renan


1 Answers

I ran into the same issue. You want to put the queue param at the end.

eg: worker: bundle exec rake jobs:work QUEUE=hi

like image 146
Nader Avatar answered Jul 22 '26 18:07

Nader