views:

11

answers:

0

I've been looking for hours on how to get this to work but have still come up with nothing. Right now it's difficult because to run Phusion Passenger I need to have web sharing enabled (on my mac) but then I can't run MAMP PRO because it needs web sharing to be turned off for it to work. So I'm constantly going back and forth and turning MAMP/web sharing on and off.

What I have tried to do is add Passengers lines of code:

LoadModule passenger_module /Library/Ruby/Gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so
PassengerRoot /Library/Ruby/Gems/1.8/gems/passenger-2.2.15
PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

<IfModule passenger_module>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName _default_
</VirtualHost>
Include /private/etc/apache2/passenger_pane_vhosts/*.conf
</IfModule>

I've added it to the httpd.conf file located here: \Applications\MAMP Pro 1.9\Contents\Resources\httpd.conf as well as \Applications\MAMP\conf\apache\httpd.conf but still no dice. I actually get an error in MAMP Pro that it can't start.

Any assistance on this would be great.