splitting into a multipackage, with a subpackage for the standalone
version (which embeds a version of nginx). The standalone version
operates much like other ruby webservers, serving a single ruby/rack
application.
Switch to using the gem version of passenger. Because the gem
installs into a versioned directory, setup symlinks to the
versioned directory so that nginx configuration files don't need
to be modified when the version is updated.
Phusion Passenger is an Nginx module, which makes deploying Ruby
and Ruby on Rails applications on Nginx a breeze. It follows the
usual Ruby on Rails conventions, such as "Don't-Repeat-Yourself"
and ease of setup, while at the same time providing enough
flexibility.
Tested by many.
With hints from Jeremy Evans and msf@.