Sinatra on Passenger always fails on first attempt

Posted by fatnic on Stack Overflow See other posts from Stack Overflow or by fatnic
Published on 2010-01-22T11:23:21Z Indexed on 2010/03/09 9:51 UTC
Read the original article Hit count: 319

Filed under:
|
|

I have a small Sinatra app I'm running on a shared hosting account using Passenger. However, the first time the app is accessed after a while, I get a Passenger error page saying the application could not be started. Usually because Sinatra could not be found.

I am assuming this is just a normal delay from when a new instance is spawned. However, is there a way to delay trying to load Siantra until it Passenger has fully loaded?

© Stack Overflow or respective owner

Related posts about passenger

Related posts about rack