<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>One Giant Robot After Another &#187; Passenger</title>
	<atom:link href="http://kang-chen.com/wp/tag/passenger/feed/" rel="self" type="application/rss+xml" />
	<link>http://kang-chen.com/wp</link>
	<description>Kang Chen&#039;s Online Portfolio and Blog</description>
	<lastBuildDate>Sun, 29 Nov 2009 05:33:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Updating Your Ruby on Rails Application Custom Environment via Passenger Pane</title>
		<link>http://kang-chen.com/wp/2009/08/02/updating-your-ruby-on-rails-application-custom-environment-via-passenger-pane/</link>
		<comments>http://kang-chen.com/wp/2009/08/02/updating-your-ruby-on-rails-application-custom-environment-via-passenger-pane/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 05:41:59 +0000</pubDate>
		<dc:creator>Kang</dc:creator>
				<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://kang-chen.com/wp/?p=49</guid>
		<description><![CDATA[If you are working with a relatively up-to-date Ruby on Rails stack, chances are you would be using Phusion Passenger to deploy your application. Although passenger makes it extremely easy to deploy and restart your app, it also added a bit more complication when managing the Apache configuration files. The Passenger Pane (for Mac only) [...]]]></description>
			<content:encoded><![CDATA[<p>If you are working with a relatively up-to-date Ruby on Rails stack, chances are you would be using <a href="http://www.modrails.com/" target="_blank">Phusion Passenger</a> to deploy your application. Although passenger makes it extremely easy to deploy and restart your app, it also added a bit more complication when managing the Apache configuration files. The Passenger Pane (for Mac only) helped alleviate this problem by providing a nice little visual panel in your Mac&#8217;s Preference Pane:<span id="more-49"></span></p>
<p style="text-align: center;"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane1.jpg" title="Passenger Pane in System Preferences"><img class="size-full wp-image-51 aligncenter" title="Passenger Pane in System Preferences" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane1.jpg" alt="Passenger Pane in System Preferences" width="401" height="337" /></a></p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_53" class="wp-caption aligncenter" style="width: 412px;">
<dt class="wp-caption-dt"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane2.jpg" title="Inside Passenger Pane"><img class="size-full wp-image-53   " title="Inside Passenger Pane" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane2.jpg" alt="Inside Passenger Pane" width="402" height="295" /></a></dt>
</dl>
</div>
<p>The nifty little add-on allows you to easily add a new Rails project, set it to development or production mode, and also restart it. It&#8217;s great if you are not sure/forgot where all the virtual host files are for your apache configuration.</p>
<p style="text-align: left;"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane3.jpg" title="Dragging project to Textmate"><img class="size-thumbnail wp-image-54 aligncenter" title="Dragging project to Textmate" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane3-150x114.jpg" alt="Dragging project to Textmate" width="90" height="68" /></a></p>
<p style="text-align: left;">As with all things in life, nothing is perfect. In this case, I work on a project with multiple environments: development, staging, preprodstaging, and production just to name a few. The passenger pane was great when you just had to choose between development or production but what do you do if your desired environment is named something else? Don&#8217;t sweat, apparently there&#8217;s a simple little trick to customize your configuration file exactly to your liking even if the pane does not offer those options. To do so, simply select the project your want to edit from the project list and then drag the it to your favorite text editor on the dock, in this case, Textmate.Now that the file is opened in the editor, edit to your heart&#8217;s content, save, restart your passenger instance for the project and you are ready to see your updated changes!</p>
<p style="text-align: center;"><a rel="lightbox[passenger_pane]" href="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane4.jpg" title="Ruby on Rails application configuration in Textmate"><img class="aligncenter size-full wp-image-55" title="Ruby on Rails application configuration in Textmate" src="http://kang-chen.com/wp/wp-content/uploads/2009/08/PassengerPane4.jpg" alt="Ruby on Rails application configuration in Textmate" width="576" height="492" /></a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://kang-chen.com/wp/2009/08/02/updating-your-ruby-on-rails-application-custom-environment-via-passenger-pane/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

