Every repository with this icon (
Every repository with this icon (
| Description: | A Mac OS X preference pane for easily configuring Rails applications with Passenger. edit |
-
Hi there, I know it's not precisely to do with passengerpane, but I'm wondering if anyone has had experience using it with SSL? I haven't been able to find any good instructions on enabling SSL on osx while still being able to use passengerpane. Do you have any clues on the matter? :D
Cheers,
Brendon
Comments
-
Can't add applications to fresh install of 1.2 (Moved from LH #32)
0 comments Created 5 months ago by alloyReported by Leonard Chin:
I've narrowed down the problem to having my $SHELL set to a non-POSIX compatible shell (specifically "fish") after a few attempts with different users on different machines. Specifically, fish treats strings (escapes, primarily) slightly differently than POSIX shells do.
Thanks a lot for your investigation!
All potential solutions I can think of involve not passing in the YAML-marshalled host information as an argument (which is honestly rather ugly). interprocess communication, e.g. druby (kinda ugly too) passing the data in to AuthorizationExecuteWithPrivileges through a temporary intermediate file (the communicationsPipe argument).
I think the tmp file is the best solution then.
Comments
-
When one application in a selection is invalid, add a red arrow next to the invalid application in the table view. Also add a red arrow next to the offending field in the invalid application and show an alert with explanation if the user presses that red arrow.
Also when we have this check the hostname according to the RFC before marking an application as valid: http://tools.ietf.org/html/rfc952 Or we could, if we even want and it works, add Punycode support.
Comments
-
Multiple applications with the same hostname. (Moved from LH #2)
0 comments Created 5 months ago by alloyWhen an application that shares the hostname with another application is removed, the hostname should not be removed because the other apps rely on it as well.
The RailsBaseURI support has been scrapped for now because Passenger doesn't support it with settings like RailsEnv per application.
Comments
-
When I try to start PassengerPane it just hangs, with "Loading Passenger... (32-bit)" in the title bar. This is the console output:
9/23/09 11:44:44 AM System Preferences[83845] PrefPanePassenger#willSelect: NoMethodError: undefined method 'hidden=' for nil:NilClass 9/23/09 11:44:44 AM [0x0-0x4b84b8].com.apple.systempreferences 2009-09-23 11:44:44.477 System Preferences[83845:903] PrefPanePassenger#willSelect: NoMethodError: undefined method 'hidden=' for nil:NilClass<br/> 9/23/09 11:44:44 AM [0x0-0x4b84b8].com.apple.systempreferences /Library/PreferencePanes/Passenger.prefPane/Contents/Resources/PassengerPref.rb:250:in 'setup_passenger_warning!'<br/> 9/23/09 11:44:44 AM [0x0-0x4b84b8].com.apple.systempreferences /Library/PreferencePanes/Passenger.prefPane/Contents/Resources/PassengerPref.rb:52:in 'willSelect'<br/> 9/23/09 11:44:44 AM [0x0-0x4b84b8].com.apple.systempreferences /Library/PreferencePanes/Passenger.prefPane/Contents/Resources/PassengerPref.rb:250Comments
Could you please check if, for instance, this ticket helps you out?
http://github.com/alloy/passengerpane/issues/closed#issue/17
karmajunkie
Wed Sep 23 10:49:19 -0700 2009
| link
Sadly, no help there... I tried building from source and it still hangs with the same messages in Console.
And /Library/Frameworks/RubyCocoa.framework doesn't exist for you either?
Also, what is your environment exactly?
karmajunkie
Wed Sep 23 10:57:15 -0700 2009
| link
Nope, no RubyCocoa in /Library/Frameworks either.
/usr/bin/ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]passenger-config --version --root: 2.2.5passenger-config --root /Library/Ruby/Gems/1.8/gems/passenger-2.2.5Any other debug files or anything I should post?
Yes, on which OS X version are you exactly?
And just to be sure, could you check
~/Library/Frameworksas well?
karmajunkie
Wed Sep 23 12:30:44 -0700 2009
| link
Yeah, I guess my OS version would be important to know. :) I'm running 10.6.1. Also using Xcode 3.2, build 1610, and I don't have anything in ~/Library/Frameworks either.
karmajunkie
Wed Sep 23 12:42:50 -0700 2009
| link
I do have a version of RubyCocoa installed in /System/Library/RubyCocoa.framework, it seems. Could this be the culprit?
karmajunkie
Wed Sep 23 13:52:13 -0700 2009
| link
I temporarily removed the version of RubyCocoa in /System/Library/Frameworks and reinstalled passengerpane, to no avail. the prefpane still stalls out whenever I try to load it.
No, the /System/Library/RubyCocoa.framework one comes with OS X and shouldn't be the problem. Don't forget to place it back :)
In case you upgraded from Leopard and had an older version of the pane installed, could you check if the old version might be in ~/Library/PreferencePanes whereas the new version would be in /Library/PreferencePanes?
Otherwise, I'm a bit at a loss on how to further debug this as I can't recreate the issue as of yet…
I have seem to have the same issue described by karmajunkie. RubyCocoa.framework is neither /Library/Frameworks or ~/Library/Frameworks and I don't have any old version of the PrefPane instaled, I also tried to build from source unsuccessfully. Maybe you can use this system.log console output
Nov 5 14:03:41 Sol [0x0-0x100100].com.apple.systempreferences[0]: Thu Nov 5 14:03:41 Sol.local System Preferences[2322] <Error>: kCGErrorIllegalArgument: CGSDeviceCreate: Invalid window Nov 5 14:03:41 Sol [0x0-0x100100].com.apple.systempreferences[0]: Thu Nov 5 14:03:41 Sol.local System Preferences[2322] <Error>: Failed to create window context device Nov 5 14:03:41 Sol [0x0-0x100100].com.apple.systempreferences[0]: Thu Nov 5 14:03:41 Sol.local System Preferences[2322] <Error>: CGWindowContextCreate: failed to create context delegate. Nov 5 14:03:41 Sol [0x0-0x100100].com.apple.systempreferences[0]: 2009-11-05 14:03:41.174 System Preferences[2322:903] _initWithWindowNumber: error creating graphics ctxt object for ctxt:0x19d27, window:0x0 Nov 5 14:03:41 Sol [0x0-0x100100].com.apple.systempreferences[0]: 2009-11-05 14:03:41.174 System Preferences[2322:903] CGPixelAccessLock failed! Nov 5 14:03:41 Sol System Preferences[2322]: kCGErrorIllegalArgument: CGSDeviceCreate: Invalid window Nov 5 14:03:41 Sol System Preferences[2322]: Failed to create window context device Nov 5 14:03:41 Sol System Preferences[2322]: CGWindowContextCreate: failed to create context delegate. Nov 5 14:03:41 Sol System Preferences[2322]: _initWithWindowNumber: error creating graphics ctxt object for ctxt:0x19d27, window:0x0 Nov 5 14:03:41 Sol System Preferences[2322]: CGPixelAccessLock failed!I'm running 10.6.1, and passengerpane v1.3
-
Right now one has to open the directory the rails app resides in in the Finder, open the prefpane and then drag the folder to the prefpane.
Most of the times you're already in the terminal at the right path, so it would be very convenient if you could do something like:
$ passengerpane .Which would open the pane and add the application.
Comments












Moved from Lighthouse:
Bryan Liles: “It would be nice if passenger helped with ssl setup. SSL requires unique IPs, so you have to create aliased interfaces as well.”
@Brendon: You should configure apache and the vhost as normal. The only thing the pane currently does to assist you is allowing you to drag the app from the source list to your text editor to be able to easily edit the vhost. This might change in the future.
Thanks Alloy :) You're right, it's quite an involved process on Leopard (though simpler than it used to be I understand). I managed to find some reasonable documentation here: http://raibledesigns.com/rd/entry/apache_2_on_os_x. And yes, if you want to have more than one host you need to do the IP address aliases. Luckily I only needed the one host :)