Phusion Passenger aka mod_rails + Apache2 or + Nginx is the easiest way to deploy Rails 3 app on the market. Thanks to the great team at Phusion, you could install standalone version and test out your app like you run test out with WEBrick and it’s just easy as 1,2,3.
Phusion Passenger standalone version install with nginx 0.8.5.4 by default. Now what if you’re running different nginx version on your production and you want to make sure you match that version in your development? Here’s how
passenger start --nginx-version VERSION
VERSION is the desired version. For example, if you want to try out the shiny and hot nginx 1.0, simply type in your rails3 folder in terminal
passenger start --nginx-version 1.0.0