<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Set RAILS_ENV for Phusion Passenger on Dreamhost</title>
	<atom:link href="http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/feed" rel="self" type="application/rss+xml" />
	<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost</link>
	<description>code with a purpose</description>
	<lastBuildDate>Wed, 30 Dec 2009 13:05:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: katz</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-10413</link>
		<dc:creator>katz</dc:creator>
		<pubDate>Tue, 23 Jun 2009 04:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-10413</guid>
		<description>I&#039;m a dreamhost user as well. Struggling to set rails environment of staging app to staging. One app with multiple environments sounds so complicated with shared hosting.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a dreamhost user as well. Struggling to set rails environment of staging app to staging. One app with multiple environments sounds so complicated with shared hosting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-10111</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Wed, 29 Apr 2009 13:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-10111</guid>
		<description>@chovy,

If you do get it up for a vote on Dreamhost, I&#039;ll gladly spend some of my voting credits to vote for it.</description>
		<content:encoded><![CDATA[<p>@chovy,</p>
<p>If you do get it up for a vote on Dreamhost, I&#8217;ll gladly spend some of my voting credits to vote for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chovy</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-10108</link>
		<dc:creator>chovy</dc:creator>
		<pubDate>Wed, 29 Apr 2009 03:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-10108</guid>
		<description>I&#039;m going lobby Dreamhost to allow for us to set the RailsEnv string from their interface.

This really is a problem with their api...and if fixed, should make it easy to define things like:

stage.example.com =&gt; RailsEnv &quot;staging&quot;
test.example.com =&gt; RailsEnv &quot;test&quot;
www.example.com =&gt; RailsEnv &quot;production&quot;</description>
		<content:encoded><![CDATA[<p>I&#8217;m going lobby Dreamhost to allow for us to set the RailsEnv string from their interface.</p>
<p>This really is a problem with their api&#8230;and if fixed, should make it easy to define things like:</p>
<p>stage.example.com =&gt; RailsEnv &#8220;staging&#8221;<br />
test.example.com =&gt; RailsEnv &#8220;test&#8221;<br />
<a href="http://www.example.com" rel="nofollow">http://www.example.com</a> =&gt; RailsEnv &#8220;production&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shrikant Lokhande</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-10061</link>
		<dc:creator>Shrikant Lokhande</dc:creator>
		<pubDate>Tue, 14 Apr 2009 09:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-10061</guid>
		<description>Change in config/environment.rb

ENV[&#039;RAILS_ENV&#039;] &#124;&#124;= &#039;production&#039;
To 
ENV[&#039;RAILS_ENV&#039;] = &#039;staging&#039;

If you need perticuler staging ENV.

Thanks-
Shrii
--------------------------
lokhande.shrikant@gmail.com</description>
		<content:encoded><![CDATA[<p>Change in config/environment.rb</p>
<p>ENV['RAILS_ENV'] ||= &#8216;production&#8217;<br />
To<br />
ENV['RAILS_ENV'] = &#8217;staging&#8217;</p>
<p>If you need perticuler staging ENV.</p>
<p>Thanks-<br />
Shrii<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<a href="mailto:lokhande.shrikant@gmail.com">lokhande.shrikant@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billee D.</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-9545</link>
		<dc:creator>Billee D.</dc:creator>
		<pubDate>Tue, 06 Jan 2009 05:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-9545</guid>
		<description>Awesome. It&#039;s nice to see little nuggets of useful info about running Rails on specific hosting platforms now. I love DreamHost -- been an avid customer for 4 or more years now -- and after many years of PHP and Java I am really beginning to love the Ruby/Rails combo. And Capistrano makes things so easy to manage from a deployment perspective it&#039;s spooky.

Thanks for sharing! :-)</description>
		<content:encoded><![CDATA[<p>Awesome. It&#8217;s nice to see little nuggets of useful info about running Rails on specific hosting platforms now. I love DreamHost &#8212; been an avid customer for 4 or more years now &#8212; and after many years of PHP and Java I am really beginning to love the Ruby/Rails combo. And Capistrano makes things so easy to manage from a deployment perspective it&#8217;s spooky.</p>
<p>Thanks for sharing! <img src='http://craigjolicoeur.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-9317</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Wed, 19 Nov 2008 02:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-9317</guid>
		<description>Yeah, I wouldnt cut and paste directly from the listing because of CR-LF issues between unix and windows (unless you view the plaintext version).

Also, strange you had to set ENV[&#039;RAILS_ENV&#039;] instead of just RAILS_ENV.  I had the exact opposite case on my dreamhost server.</description>
		<content:encoded><![CDATA[<p>Yeah, I wouldnt cut and paste directly from the listing because of CR-LF issues between unix and windows (unless you view the plaintext version).</p>
<p>Also, strange you had to set ENV['RAILS_ENV'] instead of just RAILS_ENV.  I had the exact opposite case on my dreamhost server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjors Provoost</title>
		<link>http://craigjolicoeur.com/blog/set-rails_env-for-phusion-passenger-on-dreamhost/comment-page-1#comment-9316</link>
		<dc:creator>Sjors Provoost</dc:creator>
		<pubDate>Wed, 19 Nov 2008 01:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://craigjolicoeur.com/blog/?p=77#comment-9316</guid>
		<description>Thanks, that was really helpful!

I had to make to minor changes:

Line 9:    CMD  
Make sure to remove the spaces after &quot;CMD&quot;

Line 7 I had to change from:
      echo &#039;RAILS_ENV = &quot;#{rails_env}&quot;&#039; &gt; #{tmp};  
to:
      echo &#039;ENV[&#039;RAILS_ENV&#039;] = &quot;#{rails_env}&quot;&#039; &gt; #{tmp};</description>
		<content:encoded><![CDATA[<p>Thanks, that was really helpful!</p>
<p>I had to make to minor changes:</p>
<p>Line 9:    CMD<br />
Make sure to remove the spaces after &#8220;CMD&#8221;</p>
<p>Line 7 I had to change from:<br />
      echo &#8216;RAILS_ENV = &#8220;#{rails_env}&#8221;&#8216; &gt; #{tmp};<br />
to:<br />
      echo &#8216;ENV['RAILS_ENV'] = &#8220;#{rails_env}&#8221;&#8216; &gt; #{tmp};</p>
]]></content:encoded>
	</item>
</channel>
</rss>
