public
Description: A Mac OS X preference pane for easily configuring Rails applications with Passenger.
Homepage: http://www.fngtps.com/2008/06/putting-the-pane-back-into-deployment
Clone URL: git://github.com/alloy/passengerpane.git
name age message
file .gitignore Fri Sep 19 08:13:43 -0700 2008 Preparing for 1.1 release. Added a release rake... [alloy]
file Alerts.icns Thu Jun 12 05:52:17 -0700 2008 Removed the ugly Alert about installing the gem... [alloy]
directory English.lproj/ Wed Dec 03 08:32:51 -0800 2008 Updated text in the UI and help html because we... [alloy]
file HelpHelper.h Wed Jun 18 02:58:09 -0700 2008 Open the help page when the user hits the help ... [alloy]
file HelpHelper.m Wed Jun 18 02:58:09 -0700 2008 Open the help page when the user hits the help ... [alloy]
file Info.plist Wed Dec 03 08:39:26 -0800 2008 Updated for v1.2. [alloy]
file LICENSE Mon Jun 23 01:34:17 -0700 2008 Updated copyright notice. Removed copyright not... [alloy]
file NOTES Mon Jun 23 01:10:15 -0700 2008 Updated icon. [tvandervossen]
directory Passenger.xcodeproj/ Tue Aug 26 11:48:14 -0700 2008 Refactored all paths to Apache dirs into a cent... [alloy]
file PassengerApplication.rb Wed Dec 03 08:03:15 -0800 2008 Removed the "Allow mod rewrite rules" from the ... [alloy]
file PassengerPref.m Mon Jun 23 01:34:17 -0700 2008 Updated copyright notice. Removed copyright not... [alloy]
file PassengerPref.rb Wed Dec 03 03:08:36 -0800 2008 backported fix for Ruby 1.8.7 http://rubycocoa... [granth]
file PassengerPref.tiff Thu Jun 19 00:23:02 -0700 2008 Made the small icon a bit sharper. Still need v... [tvandervossen]
file PassengerPref.xcf Thu Jun 19 00:23:02 -0700 2008 Made the small icon a bit sharper. Still need v... [tvandervossen]
file Passenger_Prefix.pch Thu May 08 05:07:51 -0700 2008 Initial import. [alloy]
file README.rdoc Mon Dec 08 05:01:21 -0800 2008 Oops, forgot to mention the removal of the "All... [alloy]
file Rakefile Fri Sep 19 08:13:43 -0700 2008 Preparing for 1.1 release. Added a release rake... [alloy]
file Security.BridgeSupport-exceptions.xml Mon Jun 16 09:19:03 -0700 2008 Forgot to add all the files. [alloy]
file Security.bridgesupport Mon Jun 16 09:19:03 -0700 2008 Forgot to add all the files. [alloy]
file SecurityHelper.h Mon Jun 16 09:19:03 -0700 2008 Forgot to add all the files. [alloy]
file SecurityHelper.m Mon Aug 18 09:47:19 -0700 2008 Reload the applications from disk when the pref... [alloy]
file TODO Mon Dec 08 05:01:21 -0800 2008 Added TODO about simple check-for-update functi... [alloy]
file config_installer.rb Wed Dec 03 08:03:15 -0800 2008 Removed the "Allow mod rewrite rules" from the ... [alloy]
file config_uninstaller.rb Fri Nov 14 06:52:11 -0800 2008 extension adjust [felipemathies]
file icon.ai Mon Jun 23 01:10:15 -0700 2008 Updated icon. [tvandervossen]
file icon.png Mon Jun 23 01:10:15 -0700 2008 Updated icon. [tvandervossen]
file passenger_pane_config.rb Fri Nov 14 06:52:11 -0800 2008 extension adjust [felipemathies]
file passenger_pane_config.rb.ports Fri Nov 14 06:52:11 -0800 2008 extension adjust [felipemathies]
file shared_passenger_behaviour.rb Thu Dec 04 02:08:03 -0800 2008 Write the command plus args to the console if i... [alloy]
directory test/ Wed Dec 03 08:03:15 -0800 2008 Removed the "Allow mod rewrite rules" from the ... [alloy]

PassengerPane

A Mac OS X system preference pane which aids in quickly setting up Rails applications with Phusion Passenger.

Features include:

  • Drag and drop support
  • Managing hostnames without cluttering /etc/hosts

Requirements

PassengerPane

Obviously required. Version 1.2 www.fngtps.com/files/2/2008/12/PassengerPane-1.2.tgz

Phusion Passenger

Also a no brainer. You’ll need at least version 2.0.1. rubyforge.org/frs/?group_id=5873&release_id=23286

RubyCocoa

PassengerPane needs at least RubyCocoa 0.13.2, which can be acquired in the following ways:

Note that if you wish to use a custom Ruby, not the default Apple Ruby, you will have to install RubyCocoa from source as well. See rubycocoa.sourceforge.net/GettingStarted for more info on this topic.

Apache 2

PassengerPane is designed to work with the default Apache 2 installation supplied by Apple on Mac OS X 10.5.

Included with the archive you’ll find a file called "passenger_pane_config.rb.ports", this file should be a drop in replacement to work with Apache 2 as installed by MacPorts. Replace Passenger.prefPane/Contents/Resources/passenger_pane_config.rb with this file or your own custom config.

Support

Before creating a bug report, please check that you are using a RubyCocoa matching your Ruby installation and have met all other requirements mentioned above.

If the problem persist, or you have a feature request or better yet a patch, you can file a ticket at: fingertips.lighthouseapp.com/projects/13022

Changelog

v1.2

  • Rack support. Thanks to Kematzy for the original suggestion/work.
  • Fixed "issue" people had with the default non-vhost based directory not working anymore. Thanks to "spike" for debugging this.
  • Made the vhost config file extension configurable as well. Patch by Felipe Mathies.
  • Backported RubyCocoa + Ruby 1.8.7 fix. Patch by Grant Hollingworth.
  • Removed the "Allow mod rewrite rules" checkbox, we found it’s not worth the UI real estate.

v1.1

  • Honor custom environments that a user might have set.
  • Fixed problem with restarting Apache. After saving an application Apache should now automatically be restarted. Thanks to Ciarán Walsh.
  • Added support for ServerAlias and add those entries to the hosts db.
  • Reload the applications from disk when the preference pane is brought back to the front. Any changes made to the vhosts from elsewhere will be reflected in the UI.
  • Moved all hardcoded paths into a config module. Added a config for Apache 2 as installed by MacPorts. Thanks to Ciarán Walsh.
  • The host table list was editable. Thanks to Ciarán Walsh.
  • Fixed bugs in parsing custom user defined data in vhosts.
  • Create a tmp dir before touching restart.txt if none exists.
  • Replace underscores with hyphens in hostnames. Thanks to Bryan Liles.

License

Copyright © 2008 Fingertips, www.fngtps.com, Eloy Duran <eloy@fngtps.com>, Thijs van der Vossen <thijs@fngtps.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.