<?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>42 &#187; Passenger</title>
	<atom:link href="http://www.42.mach7x.com/tag/passenger/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.42.mach7x.com</link>
	<description>Thoughts and tips about programming with Ruby on Rails</description>
	<lastBuildDate>Thu, 09 Sep 2010 09:28:07 +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>Rails Passenger Staging environment problem in Dreamhost</title>
		<link>http://www.42.mach7x.com/2010/09/09/rails-passenger-staging-environment-problem-in-dreamhost/</link>
		<comments>http://www.42.mach7x.com/2010/09/09/rails-passenger-staging-environment-problem-in-dreamhost/#comments</comments>
		<pubDate>Thu, 09 Sep 2010 09:28:07 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[Phusion Passenger]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[phusion passenger]]></category>
		<category><![CDATA[Staging]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=226</guid>
		<description><![CDATA[Problem You want to deploy your rails application using Passenger in Dreamhost, but on a staging environment. It doesn&#8217;t work just changing your Capistrano recipe or your environment files, as the default environment for passenger is &#8216;production&#8217;. Solution Looking at the Passenger documentation here, there are four different ways of achieving that by changing the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You want to deploy your rails application using Passenger in Dreamhost, but on a staging environment. It doesn&#8217;t work just changing your Capistrano recipe or your environment files, as the default environment for passenger is &#8216;production&#8217;.</p>
<p><strong>Solution</strong><br />
Looking at the Passenger documentation <a href="http://www.modrails.com/documentation/Users%20guide%20Apache.html#rails_env">here</a>, there are four different ways of achieving that by changing the RailsEnv option. If you don&#8217;t want to change the Apache configuration files, and as long as the option AllowOverride is on (which should be on Dreamhost), then you would need to create an .htaccess file in your application&#8217;s public folder with the following:</p>
<p><span class="code">RailsEnv staging</span> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2010/09/09/rails-passenger-staging-environment-problem-in-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phusion Passenger installation in Mandriva 2009</title>
		<link>http://www.42.mach7x.com/2009/01/08/phusion-passenger-installation-in-mandriva-2009/</link>
		<comments>http://www.42.mach7x.com/2009/01/08/phusion-passenger-installation-in-mandriva-2009/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 11:30:53 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[phusion passenger]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=71</guid>
		<description><![CDATA[Problem You have recently installed Mandriva 2009 and you want to install phusion passenger. Solution First make sure that apache is installed. If it is not installed (default), do: urpmi apache On the selection question about the dependencies select option 1 (apache-prefork) Use the details from the phusion passenger website. ie: Install passenger: gem install [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong><br />
You have recently installed Mandriva 2009 and you want to install phusion passenger.</p>
<p><strong>Solution</strong></p>
<ol>
<li>First make sure that apache is installed. If it is not installed (default), do:
<pre class="code">urpmi apache</pre>
<p>On the selection question about the dependencies select option 1 (apache-prefork)</li>
<li>Use the details from the phusion passenger website. ie:<br />
Install passenger:</p>
<pre class="code">gem install passenger</pre>
</li>
<li>Run the passenger installation:
<pre class="code">passenger-install-apache2-module</pre>
</li>
<li>If at the second stage of the installation the installer complains that <em>GNU C++ compiler &#8230; not found</em>, install the gnu c++ compiler, with:
<pre class="code">urpmi gcc_c++</pre>
</li>
<li>Run the passenger installation (step 3) again. If at this stage the installer complains that <em>Apache 2 development headers &#8230; not found</em>, use:
<pre class="code">urpmi apache-devel</pre>
</li>
<li>Run passenger installer (step 3), once more. Now everything should be ok and the apache 2 module will be installed when the installer finishes.</li>
<li>Restart the Apache webserver, and you should be able to add your Rails application. Use the following to deploy your application in /somewhere/public:
<pre class="code">&lt;VirtualHost *:80&gt;
  ServerName www.yourhost.com
  DocumentRoot /somewhere/public
&lt;/VirtualHost&gt;</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2009/01/08/phusion-passenger-installation-in-mandriva-2009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dreamhost passenger (mod_rails) announced</title>
		<link>http://www.42.mach7x.com/2008/05/13/dreamhost-passenger-mod_rails-announced/</link>
		<comments>http://www.42.mach7x.com/2008/05/13/dreamhost-passenger-mod_rails-announced/#comments</comments>
		<pubDate>Tue, 13 May 2008 22:09:57 +0000</pubDate>
		<dc:creator>kosmas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[Passenger]]></category>

		<guid isPermaLink="false">http://www.42.mach7x.com/?p=34</guid>
		<description><![CDATA[Today, there was an announcement about Dreamhost, having the new Passenger (mod_rails) feature ready for use with Ruby on Rails applications. The full announcement is here. It should be changing the way Rails applications are deployed, making it much easier.]]></description>
			<content:encoded><![CDATA[<p>Today, there was an announcement about Dreamhost, having the new Passenger (mod_rails) feature ready for use with Ruby on Rails applications.<br />
The full announcement is <a href="http://www.dreamhoststatus.com/2008/05/13/new-feature-passenger-mod_rails/">here</a>.</p>
<p>It should be changing the way Rails applications are deployed, making it much easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.42.mach7x.com/2008/05/13/dreamhost-passenger-mod_rails-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
