I installed Apache, Passenger and Sinatra and deployed an app. It gives error when trying to access:
An error occurred while starting up the preloader: it di
In case the above doesn't solve it for you, I had the exact same error message with a different cause.
In my case, we were using an external database server and that had gone down.
Bringing the external db server back up fixed the issue.
But before we solved this, we spent a bunch of time thinking about recompiling passenger, etc.
Hope this note saves someone some time.