public
Description: A Mac OS X preference pane for easily configuring Rails applications with Passenger.
Home | Edit | New

Making Passenger Preference Pane work with MacPorts' Apache (Resolving "Can’t find the Phusion Passenger Apache module." error message)

For anyone who isn’t sure what to do with the passenger_pane_config.rb.ports file (and how to resolve the “Can’t find the Phusion Passenger Apache module.” error message), this information is kindly provided by James Thompson in this article.

“Right click on Passenger.prefPane and choose Show Package Contents. Navigate through Contents and then to Resources. Then open the passenger_pane_config.rb file and make the following changes:

HTTPD_BIN = “/opt/local/apache2/bin/httpd”
APACHE_RESTART_COMMAND = “/opt/local/apache2/bin/apachectl -k restart”
APACHE_DIR = “/opt/local/apache2/conf”

Save the file and get back to where you can see the Passenger.prefPane file."

You will have to remove the Passenger pane from System Preferences and re-add it.

Last edited by enwood, Tue Sep 29 09:01:35 -0700 2009
Home | Edit | New
Versions: