Ok, I'm making my first ruby ββapp. Who knows that everything is redone for "production", so complicated. So far, I have been struggling to configure the passenger to start it at startup, and then run redis to start at startup.
My last task is to add 1 employee at startup. Right now, I have to execute ssh and run the rake command rake workers:start. Obviously, this is not good when I want to close ssh .., so I just donβt know how and what the next step is.
I tried copying resque default config to config.ru, and it just blows up Passenger with errors. I also looked into the resc pool, which some people talked about, but this is above my head.
all i need to do is add 1 worker at boot time. It is not that a serious application so simple would be better at the moment.
source
share