<?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: Vlad, RVM and Bundler sittin&#8217; in a tree</title>
	<atom:link href="http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/</link>
	<description>Just another LosTechies site</description>
	<lastBuildDate>Fri, 15 Oct 2010 23:08:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Vidar</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-181</link>
		<dc:creator>Vidar</dc:creator>
		<pubDate>Mon, 27 Sep 2010 09:05:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-181</guid>
		<description>On my machine I&#039;m not using gemsets but I&#039;m using vlad, rvm and rails3. All I did when I upgraded from my rails2 app was to add

remote_task :bundle do
  run &quot;cd #{release_path} &amp;&amp; bundle install&quot;
end

to my deploy.rb and add the PATH in .ssh/environment like this:

PATH=/home/vidar/.rvm/gems/ree-1.8.7-2010.02/bin:/home/vidar/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/vidar/.rvm/rubies/ree-1.8.7-2010.02/bin:/home/vidar/.r
vm/bin:/usr/local/bin:/usr/bin:/bin

and it just worked.</description>
		<content:encoded><![CDATA[<p>On my machine I&#8217;m not using gemsets but I&#8217;m using vlad, rvm and rails3. All I did when I upgraded from my rails2 app was to add</p>
<p>remote_task :bundle do<br />
  run &#8220;cd #{release_path} &#038;&#038; bundle install&#8221;<br />
end</p>
<p>to my deploy.rb and add the PATH in .ssh/environment like this:</p>
<p>PATH=/home/vidar/.rvm/gems/ree-1.8.7-2010.02/bin:/home/vidar/.rvm/gems/ree-1.8.7-2010.02@global/bin:/home/vidar/.rvm/rubies/ree-1.8.7-2010.02/bin:/home/vidar/.r<br />
vm/bin:/usr/local/bin:/usr/bin:/bin</p>
<p>and it just worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-180</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 20 Sep 2010 11:01:52 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-180</guid>
		<description>Also having the bundle install location is very handy</description>
		<content:encoded><![CDATA[<p>Also having the bundle install location is very handy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-179</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 20 Sep 2010 09:00:48 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-179</guid>
		<description>Thanks for showing the trust command!

I found a nice way to join and run the commands: http://pastie.org/1169652</description>
		<content:encoded><![CDATA[<p>Thanks for showing the trust command!</p>
<p>I found a nice way to join and run the commands: <a href="http://pastie.org/1169652" rel="nofollow">http://pastie.org/1169652</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Beninghove</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-178</link>
		<dc:creator>Joey Beninghove</dc:creator>
		<pubDate>Sun, 19 Sep 2010 01:00:47 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-178</guid>
		<description>@Wayne,
Very cool stuff man, thanks!  I knew the .rvmrc file was just a shell script but didn&#039;t know about that nifty command to generate one for you.  Very handy!</description>
		<content:encoded><![CDATA[<p>@Wayne,<br />
Very cool stuff man, thanks!  I knew the .rvmrc file was just a shell script but didn&#8217;t know about that nifty command to generate one for you.  Very handy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Beninghove</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-177</link>
		<dc:creator>Joey Beninghove</dc:creator>
		<pubDate>Sun, 19 Sep 2010 00:57:23 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-177</guid>
		<description>@Colin,
Cool man, glad you liked it.  I gotta say RVM has definitely spoiled me, which is why I couldn&#039;t stand NOT having it on my servers as well.  I&#039;ve always been a huge proponent of portability when it comes to my apps and development environments, so RVM is just a no brainer for me.

And yeah, your article on I linked to is probably one of the best I&#039;ve seen on that topic, so thank you!  :)</description>
		<content:encoded><![CDATA[<p>@Colin,<br />
Cool man, glad you liked it.  I gotta say RVM has definitely spoiled me, which is why I couldn&#8217;t stand NOT having it on my servers as well.  I&#8217;ve always been a huge proponent of portability when it comes to my apps and development environments, so RVM is just a no brainer for me.</p>
<p>And yeah, your article on I linked to is probably one of the best I&#8217;ve seen on that topic, so thank you!  <img src='http://lostechies.com/joeybeninghove/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wayne E. Seguin</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-176</link>
		<dc:creator>Wayne E. Seguin</dc:creator>
		<pubDate>Sun, 19 Sep 2010 00:34:38 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-176</guid>
		<description>Joey,

Regarding the .rvmrc file, the best way to generate this is to run:

$ rvm --rvmrc --create ree@ema

In the project root directory. This is optimized to load the environment file if it exists which is *much* faster than running through the entire RVM CLI parser.

Additionally each .rvmrc file is simply a shell script. This means that you can, for example, that you can run your bundle install on your server. Something like this:

  ... original .rvmrc generated content ...

  if [[ &quot;$(hostname)&quot; = &quot;my-server-name&quot; ]] ; then
    bundle install
  fi

Of course you can make this as elaborate and/or tailored to your environment as you need!

  ~Wayne</description>
		<content:encoded><![CDATA[<p>Joey,</p>
<p>Regarding the .rvmrc file, the best way to generate this is to run:</p>
<p>$ rvm &#8211;rvmrc &#8211;create ree@ema</p>
<p>In the project root directory. This is optimized to load the environment file if it exists which is *much* faster than running through the entire RVM CLI parser.</p>
<p>Additionally each .rvmrc file is simply a shell script. This means that you can, for example, that you can run your bundle install on your server. Something like this:</p>
<p>  &#8230; original .rvmrc generated content &#8230;</p>
<p>  if [[ "$(hostname)" = "my-server-name" ]] ; then<br />
    bundle install<br />
  fi</p>
<p>Of course you can make this as elaborate and/or tailored to your environment as you need!</p>
<p>  ~Wayne</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin MacKenzie IV</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-175</link>
		<dc:creator>Colin MacKenzie IV</dc:creator>
		<pubDate>Sat, 18 Sep 2010 17:51:57 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-175</guid>
		<description>This is great stuff. I&#039;ve been growing increasingly disillusioned with Capistrano lately (probably in direct correlation to the increasing complexity of my deploy scripts) and it&#039;s good to find a simple, elegant solution. I was an overnight convert as RVM goes, and am considering running it in production just as you mentioned, so this will be a helpful resource -- especially since I&#039;m also beginning to understand the real power in using Bundler to manage gems.

Clearly there&#039;s a huge plus (IMHO) to not having to &quot;sudo&quot; everything under the sun, but have you discovered any other major benefits / drawbacks to using RVM in production, or does this come largely down to preference?

BTW - thanks for the link. It&#039;s good to know someone out there is gaining from my own meager contributions. :)</description>
		<content:encoded><![CDATA[<p>This is great stuff. I&#8217;ve been growing increasingly disillusioned with Capistrano lately (probably in direct correlation to the increasing complexity of my deploy scripts) and it&#8217;s good to find a simple, elegant solution. I was an overnight convert as RVM goes, and am considering running it in production just as you mentioned, so this will be a helpful resource &#8212; especially since I&#8217;m also beginning to understand the real power in using Bundler to manage gems.</p>
<p>Clearly there&#8217;s a huge plus (IMHO) to not having to &#8220;sudo&#8221; everything under the sun, but have you discovered any other major benefits / drawbacks to using RVM in production, or does this come largely down to preference?</p>
<p>BTW &#8211; thanks for the link. It&#8217;s good to know someone out there is gaining from my own meager contributions. <img src='http://lostechies.com/joeybeninghove/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Beninghove</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-174</link>
		<dc:creator>Joey Beninghove</dc:creator>
		<pubDate>Fri, 17 Sep 2010 15:08:23 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-174</guid>
		<description>@Peter,
I&#039;m afraid I don&#039;t have a clue about running this on Windows.  But I do know that under the hood it uses POpen4, which looks to be a cross-platform tool, so remote_task could maybe be modified to take advantage powershell, etc.  Can&#039;t say for sure though since I don&#039;t use Windows.</description>
		<content:encoded><![CDATA[<p>@Peter,<br />
I&#8217;m afraid I don&#8217;t have a clue about running this on Windows.  But I do know that under the hood it uses POpen4, which looks to be a cross-platform tool, so remote_task could maybe be modified to take advantage powershell, etc.  Can&#8217;t say for sure though since I don&#8217;t use Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Mounce</title>
		<link>http://lostechies.com/joeybeninghove/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree/#comment-173</link>
		<dc:creator>Peter Mounce</dc:creator>
		<pubDate>Fri, 17 Sep 2010 09:07:50 +0000</pubDate>
		<guid isPermaLink="false">/blogs/joeydotnet/archive/2010/09/17/vlad-rvm-and-bundler-sittin-in-a-tree.aspx#comment-173</guid>
		<description>In the context of running this to automate _Windows_ deployments, is there a way to replace the run-via-ssh part with, say, a run-via-powershell-remoting, or run-via-webdeploy-remote-execution?</description>
		<content:encoded><![CDATA[<p>In the context of running this to automate _Windows_ deployments, is there a way to replace the run-via-ssh part with, say, a run-via-powershell-remoting, or run-via-webdeploy-remote-execution?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
