<?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>It&#039;s not me &#187; rvm ruby</title>
	<atom:link href="http://blog.raoulbonnal.net/tag/rvm-ruby/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.raoulbonnal.net</link>
	<description>My Ego gets a Blog</description>
	<lastBuildDate>Fri, 11 Mar 2011 02:47:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RVM: a Cupid for Nginx and Phusion Passenger</title>
		<link>http://blog.raoulbonnal.net/2010/04/20/rvm-a-cupid-for-nginx-and-phusion-passenger</link>
		<comments>http://blog.raoulbonnal.net/2010/04/20/rvm-a-cupid-for-nginx-and-phusion-passenger#comments</comments>
		<pubDate>Tue, 20 Apr 2010 15:12:59 +0000</pubDate>
		<dc:creator>Ego</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rvm ruby]]></category>

		<guid isPermaLink="false">http://blog.raoulbonnal.net/?p=357</guid>
		<description><![CDATA[I presented my work to my lab-group and it’s time to move the test applications in a stage aka “production” environment on my servers. I’m fallen in love with Ruby Version Manager (RVM) which is running on my development virtual machine inside the Vaio. Installing Ruby all the gems and the web server Nginx is [...]]]></description>
			<content:encoded><![CDATA[<p>I presented my work to my lab-group and it’s time to move the test applications in a stage aka “production” environment on my servers.<br />
I’m fallen in love with Ruby Version Manager (RVM) which is running on my development virtual machine inside the Vaio.<br />
Installing Ruby all the gems and the web server Nginx is so cool and easy, thanks God for <a href="http://rvm.beginrescueend.com/">RVM</a>’s documentation. To run my rails application I’m using Nginx because it’s configuration is so dry and the engine is very fast.</p>
<p>Following the instruction <a href="http://rvm.beginrescueend.com/">here</a> there is a little problem regarding … me <img src='http://blog.raoulbonnal.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I do not read the documentation… Wayne wrote about adding the right configuration in  nginx/conf/nginx.conf if you are using rvm, but you know… the world is bad.</p>
<p>I need to replicate this configuration on different machines so I decided to create an old style patch to fix this annoing problem. You can download the patch <a href="https://gist.github.com/36224a9d7d801ee1a294#file_auto_set_rvm_env_with_nginx_phusion_passenger.patch">here</a>.</p>
<p>As reported in the Wayne’s documentation:<br />
<code><br />
rvm ree<br />
gem install passenger<br />
patch -p0 < auto_set_rvm_env_with_nginx_phusion_passenger.patch<br />
rvmsudo passenger-install-nginx-module<br />
</code><br />
Note, I’m using Ree not the standard one and the original file is located:<br />
<code><br />
.rvm/gems/ree-1.8.7-2010.01/gems/passenger-2.2.11/bin/passenger-install-nginx-module<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.raoulbonnal.net/2010/04/20/rvm-a-cupid-for-nginx-and-phusion-passenger/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

