<?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: Passing environment variables to Ruby from Phusion Passenger</title>
	<atom:link href="http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 23:02:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tales from upgrading to Ruby 1.9.2 - character encoding</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-61580</link>
		<dc:creator>Tales from upgrading to Ruby 1.9.2 - character encoding</dc:creator>
		<pubDate>Sun, 18 Sep 2011 07:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-61580</guid>
		<description>[...] our passenger (3.0.8) and nginx are blocking environment variables from being passed to Ruby. We ended up with wrapping the ruby invokation in passenger as follows: #!/bin/sh export LANG=en_US.utf8; [...]</description>
		<content:encoded><![CDATA[<p>[...] our passenger (3.0.8) and nginx are blocking environment variables from being passed to Ruby. We ended up with wrapping the ruby invokation in passenger as follows: #!/bin/sh export LANG=en_US.utf8; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Rochkind</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-55020</link>
		<dc:creator>Jonathan Rochkind</dc:creator>
		<pubDate>Mon, 18 Jul 2011 15:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-55020</guid>
		<description>I don&#039;t think this has been documented anywhere else better than this blog post?

Regarding REE GC tuning env, it looks like recent versions of passenger under RVM install using a wrapper with an &#039;environment&#039; file already. For instance, wrapper (included as PassengerRuby in passenger apache output) at: 

/usr/local/rvm/wrappers/ree-1.8.7-2011.03/ruby

and that script already sources a bash file setting ENV at:

/usr/local/rvm/environments/ree-1.8.7-2011.03

So i think REE GC tuning env can conveniently be put in that ../environments/... file?  Not sure if &#039;export&#039; is needed, I think it&#039;s not, but I used it anyway just to be safe. 

Some updated documentation on this stuff would be awesome.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think this has been documented anywhere else better than this blog post?</p>
<p>Regarding REE GC tuning env, it looks like recent versions of passenger under RVM install using a wrapper with an &#8216;environment&#8217; file already. For instance, wrapper (included as PassengerRuby in passenger apache output) at: </p>
<p>/usr/local/rvm/wrappers/ree-1.8.7-2011.03/ruby</p>
<p>and that script already sources a bash file setting ENV at:</p>
<p>/usr/local/rvm/environments/ree-1.8.7-2011.03</p>
<p>So i think REE GC tuning env can conveniently be put in that ../environments/&#8230; file?  Not sure if &#8216;export&#8217; is needed, I think it&#8217;s not, but I used it anyway just to be safe. </p>
<p>Some updated documentation on this stuff would be awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rails3 unbearably slow view rendering: use REE with GC tuning &#124; Bibliographic Wilderness</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-52644</link>
		<dc:creator>rails3 unbearably slow view rendering: use REE with GC tuning &#124; Bibliographic Wilderness</dc:creator>
		<pubDate>Tue, 28 Jun 2011 19:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-52644</guid>
		<description>[...] Now these instructions need to include REE (and really RVM, as the only sane way to install REE), setting up Passenger to use REE with proper GC tuning (which requires a ruby wrapper script!) etc. Instructions to set up a production environment have [...]</description>
		<content:encoded><![CDATA[<p>[...] Now these instructions need to include REE (and really RVM, as the only sane way to install REE), setting up Passenger to use REE with proper GC tuning (which requires a ruby wrapper script!) etc. Instructions to set up a production environment have [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Garbage Collector Performance Tuning &#124; Carpe Diem</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-41120</link>
		<dc:creator>Ruby Garbage Collector Performance Tuning &#124; Carpe Diem</dc:creator>
		<pubDate>Mon, 04 Apr 2011 11:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-41120</guid>
		<description>[...] Passenger で変更するには、ここにあるとおり専用のラッパースクリプトを作って PassengerRuby [...]</description>
		<content:encoded><![CDATA[<p>[...] Passenger で変更するには、ここにあるとおり専用のラッパースクリプトを作って PassengerRuby [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visoft, Inc. Blogs &#124; Ruby on Rails Shared Hosting Gem Issue</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-39321</link>
		<dc:creator>Visoft, Inc. Blogs &#124; Ruby on Rails Shared Hosting Gem Issue</dc:creator>
		<pubDate>Mon, 14 Mar 2011 17:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-39321</guid>
		<description>[...] going through just about every thing I could find on the web, I came across a blog post on the Phusion Passenger blog.  Lucky too, because I almost didn’t look at it since my host uses [...]</description>
		<content:encoded><![CDATA[<p>[...] going through just about every thing I could find on the web, I came across a blog post on the Phusion Passenger blog.  Lucky too, because I almost didn’t look at it since my host uses [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikhailov</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-38989</link>
		<dc:creator>mikhailov</dc:creator>
		<pubDate>Fri, 11 Mar 2011 11:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-38989</guid>
		<description>Ruby GC tuning run my specs 1.5-2times faster. see Basecamp, Twitter and default settings. Use ruby enterprise to test https://gist.github.com/865706</description>
		<content:encoded><![CDATA[<p>Ruby GC tuning run my specs 1.5-2times faster. see Basecamp, Twitter and default settings. Use ruby enterprise to test <a href="https://gist.github.com/865706" rel="nofollow">https://gist.github.com/865706</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noah</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-30327</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Wed, 08 Dec 2010 17:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-30327</guid>
		<description>FWIW:  I wasn&#039;t able to use mod_env to modify PATH using SetEnv.   According to docs here: http://httpd.apache.org/docs/current/env.html  it looks like PATH might get cleaned after mod_env.</description>
		<content:encoded><![CDATA[<p>FWIW:  I wasn&#8217;t able to use mod_env to modify PATH using SetEnv.   According to docs here: <a href="http://httpd.apache.org/docs/current/env.html" rel="nofollow">http://httpd.apache.org/docs/current/env.html</a>  it looks like PATH might get cleaned after mod_env.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rails ENV when using Phusion Passenger &#171; Only The Wind Knows</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-28802</link>
		<dc:creator>Rails ENV when using Phusion Passenger &#171; Only The Wind Knows</dc:creator>
		<pubDate>Sat, 06 Nov 2010 04:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-28802</guid>
		<description>[...] in .bashrc. The reason is because Apache is independent of shell ENV variables (explained better here). Fixed the issue by using &#8220;SetEnv HTTP_PROXY=&#8230;&#8221; in the application&#8217;s [...]</description>
		<content:encoded><![CDATA[<p>[...] in .bashrc. The reason is because Apache is independent of shell ENV variables (explained better here). Fixed the issue by using &#8220;SetEnv HTTP_PROXY=&#8230;&#8221; in the application&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby on Rails Shared Hosting Gem Issue</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-27136</link>
		<dc:creator>Ruby on Rails Shared Hosting Gem Issue</dc:creator>
		<pubDate>Wed, 06 Oct 2010 01:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-27136</guid>
		<description>[...] going through just about every thing I could find on the web, I came across a blog post on the Phusion Passenger blog.  Lucky too, because I almost didn’t look at it since my host uses [...]</description>
		<content:encoded><![CDATA[<p>[...] going through just about every thing I could find on the web, I came across a blog post on the Phusion Passenger blog.  Lucky too, because I almost didn’t look at it since my host uses [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Neddenriep</title>
		<link>http://blog.phusion.nl/2008/12/16/passing-environment-variables-to-ruby-from-phusion-passenger/comment-page-1/#comment-21722</link>
		<dc:creator>Jonathan Neddenriep</dc:creator>
		<pubDate>Fri, 18 Jun 2010 08:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.phusion.nl/?p=61#comment-21722</guid>
		<description>For any of you struggling with the Ruby 1.9.1 lack of support for passing the GEM_PATH in the environment variable, if you use the wrapper method outlined above it works.</description>
		<content:encoded><![CDATA[<p>For any of you struggling with the Ruby 1.9.1 lack of support for passing the GEM_PATH in the environment variable, if you use the wrapper method outlined above it works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

