Rails server hangs when started with foreman
Here's what my Procfile looks like: web: bundle exec rails server thin -p $PORT -e $RACK_ENV worker: bundle exec rake jobs:work I intend to add a worker process because I wish to run some background jobs. I'm following these instructions This is what I noticed: No problems encountered if the worker is started separately. When I keep the second line in the Procfile and don't not change anything else, the rails server serves a couple of requests and hangs after that As mentioned here , I've added STDOUT.sync = true to config/environments/development.rb and verified the same in the rails console.