It would be great if you can share your code.
After some digging it appears that you can preload the application, which sounds like a solution:
However I haven’t tried it yet. Curious to see how it works out for you.
Some related questions and answers:
I’d never even heard of Passenger. There are other solutions out there but (1) I don’t have experience with them and (2) the problem seems to be more of a application design/architecture problem than a framework problem so don’t know if you want to necessarily jump ship because of it.
Having said that if you happen to find a better solution it’d be great if you can share.