Mac Phusion Passenger Pane not working

I have a feeling that this is something centered around my apache/Passenger
configurations but everything seems to check out.

Another off the hand problem I'm having, and might be a clue is w/ my
Passenger Pane. I installed the Phusion Passenger Pane and every time I
try to add an entry, I get this error:

"Your changes couldn’t be saved
        See the Console log for details."

I wasn't sure exactly where the console log was for the Passenger Pane.
I checked all Apache logs as well as the development.log of the project.

It’s going to be in your normal system.log probably. As it says in the error, go to Applications > Utilities > Console and look through there.

However, I see very little reason to still use Passenger Pane today. If you’re talking about a development machine (which I assume it is), you might be better off looking into Pow (http://pow.cx/). If that is your production machine, then you shouldn’t be using Passenger Pane at all anyway.

Understand that hosting apps under Apache in development is like mounting an elephant to put a new battery in a flashlight. You don’t need the elephant, a simple chair or bench will do.

Best regards

Peter De Berdt

Finally found out which console it was mentioning (utilities/console) and
when I find the output I get this permissions related output:

Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Applying changes to
Rails application:
/Library/WebServer/Documents/ROR_tests/file_upload_progress1
Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Starting Rails
application: /Library/WebServer/Documents/ROR_tests/file_upload_progress1
Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Saving
configuration:
/private/etc/apache2/passenger_pane_vhosts/file_upload_progress1.local.vhost.conf
Apr 21 10:54:18 clem-c-rock-2 authexec[56414]: executing /usr/bin/ruby
Apr 21 10:54:18 clem-c-rock-2 System Preferences[52999]: Error -60031 in
AuthorizationExecuteWithPrivileges

clem_c_rock wrote:

Finally found out which console it was mentioning (utilities/console) and
when I find the output I get this permissions related output:

That sounds like the preference pane has an embeded helper app that it
uses for things that require root access and that the permissions on
that have gone wrong

Fred

Found the solution:
http://www.robbyonrails.com/articles/2009/02/11/switch-to-passenger-mod_rails-in-development-on-osx-in-less-than-7-minutes-or-your-money-back

The Fix:
the fix is to make a symlink from where Ruby is installed to where the
Passenger Pane expects it to be installed.

NOTE: Before you run the symlink command you should probably remove the
Passenger preference pane, done by right-clicking on it and selecting Remove
“Passenger” Preference Pane.

which ruby (to get your ruby path)

To make the symlink, run the command: ln -s /opt/local/bin/ruby
/usr/bin/ruby.

Reinstall the Passenger Preference Pane and try adding a project.

clem_c_rock wrote: