Install MacPorts if you don’t have it.
Download and install the Portfile
git clone git://github.com:crigor/admoolabs-ports.git ports
cd ports/nginx-0.7.64-passenger-2.2.8
sudo port -v install
You need to have ruby installed to compile passenger. In case you don’t have ruby, you can also get it from macports.
sudo port -v install ruby
If you have an older version of nginx installed using macports, it might [...]
Installing Nginx with Passenger on Snow Leopard Using MacPorts