Monday, October 10, 2011

foreman Procfile troubles

Having trouble with your foreman Procfile? Make sure the file is saved in unix mode.
I had a worker process defined and I was getting this:

19:38:23 worker.1 | rake aborted!
'9:38:23 worker.1 | Don't know how to build task 'resque:work
19:38:23 worker.1 |
19:38:23 worker.1 | (See full trace by running task with --trace)

I ran dos2unix and the problem went away.

No comments: