Running Sinatra with Phusion Passenger April 19, 2009
Posted by John Dewey in Passenger, Rack, Ruby, Sinatra.trackback
Here is a config.ru for use with Sinatra. It also includes a logging section for your app. This configuration works on Sinatra (0.9.1.1). Quite a few of the examples out there use the deprecated Sinatra::Application.default_options vs set.
:update:
John,
You don’t need to set those options. They are all automatically handled for you by Sinatra.
This will accomplish the same thing (minus the logging)
http://gist.github.com/98711
The logging should be handled by Passenger right? It should be saving your stdout, and stderr for you.