After numerous searches, I found this post extremely helpful:
http://www.jotlab.com/2009/11/08/installing-ruby-on-rails-mysql-imagemagick-nginx-passenger-with-macports/
Highlights:
Install or update Passenger:
sudo gem install passenger
Find Passenger install path:
passenger-config --root
Configure MacPorts to use Passenger varient of Nginx:
cd /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/nginx
Open config file:
sudo vi Portfile
Insert at the bottom of the file:
variant passenger description {Adds passenger support} {
configure.args-append --add-module=/Library/Ruby/Gems/1.8/gems/passenger-3.0.1/ext/nginx
}
Install/update Nginx:
sudo port install nginx +gzip_static +passenger +ssl
Post a Comment