<?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: rails 3, bundler, capistrano</title>
	<atom:link href="http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
	<description>bring it on, world!</description>
	<lastBuildDate>Mon, 26 Sep 2011 03:28:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: matt</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-645</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 01 Sep 2010 18:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-645</guid>
		<description>Cool, thanks!  I knew it would just be a matter of time...</description>
		<content:encoded><![CDATA[<p>Cool, thanks!  I knew it would just be a matter of time&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-642</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 01 Sep 2010 00:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-642</guid>
		<description>Looks like this is easier to deal with these days, add the following to your deploy.rb:

require &#039;bundler/capistrano&#039;

...and you&#039;re done!

see also http://github.com/carlhuda/bundler/blob/master/lib/bundler/capistrano.rb</description>
		<content:encoded><![CDATA[<p>Looks like this is easier to deal with these days, add the following to your deploy.rb:</p>
<p>require &#8216;bundler/capistrano&#8217;</p>
<p>&#8230;and you&#8217;re done!</p>
<p>see also <a href="http://github.com/carlhuda/bundler/blob/master/lib/bundler/capistrano.rb" rel="nofollow">http://github.com/carlhuda/bundler/blob/master/lib/bundler/capistrano.rb</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-08-17 &#171; Caiwangqin&#8217;s delicious bog</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-616</link>
		<dc:creator>links for 2010-08-17 &#171; Caiwangqin&#8217;s delicious bog</dc:creator>
		<pubDate>Tue, 17 Aug 2010 23:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-616</guid>
		<description>[...] rails 3, bundler, capistrano — matt vs world (tags: bundler capistrano rails3) [...]</description>
		<content:encoded><![CDATA[<p>[...] rails 3, bundler, capistrano — matt vs world (tags: bundler capistrano rails3) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kazjote</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-592</link>
		<dc:creator>kazjote</dc:creator>
		<pubDate>Wed, 04 Aug 2010 13:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-592</guid>
		<description>Thanks for great recipe :) 

I use it already for some time and found an issue with failing deployments.

In simple words, if anything goes wrong during the deployment after bundler install task you will end up with unbootable application state.

The solution is to provide on_rollback tasks which I covered on my blog: http://kazjote.eu/2010/08/04/bundler-and-capistrano-the-right-way</description>
		<content:encoded><![CDATA[<p>Thanks for great recipe <img src='http://www.mattvsworld.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>I use it already for some time and found an issue with failing deployments.</p>
<p>In simple words, if anything goes wrong during the deployment after bundler install task you will end up with unbootable application state.</p>
<p>The solution is to provide on_rollback tasks which I covered on my blog: <a href="http://kazjote.eu/2010/08/04/bundler-and-capistrano-the-right-way" rel="nofollow">http://kazjote.eu/2010/08/04/bundler-and-capistrano-the-right-way</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-574</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Thu, 29 Jul 2010 18:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-574</guid>
		<description>You&#039;re right, but what I wanted to accomplish was not having the bundle re-generated during each deployment. If the bundle configuration remains the same, it doesn&#039;t have to &quot;re-install&quot; anything if you use the symlink approach.  If you don&#039;t mind the extra deployment time (and space taken up by multiple copies of bundles), then it&#039;s not necessary to symlink.

I generally run rails applications as a custom user, and deploy &quot;as&quot; another one.  That&#039;s entirely up to you and your particular deployment scenario -- i.e., what kind of access you have, how your web server is configured, etc, etc.  Of course, you can always run and deploy as root if you feel like living on the edge...</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, but what I wanted to accomplish was not having the bundle re-generated during each deployment. If the bundle configuration remains the same, it doesn&#8217;t have to &#8220;re-install&#8221; anything if you use the symlink approach.  If you don&#8217;t mind the extra deployment time (and space taken up by multiple copies of bundles), then it&#8217;s not necessary to symlink.</p>
<p>I generally run rails applications as a custom user, and deploy &#8220;as&#8221; another one.  That&#8217;s entirely up to you and your particular deployment scenario &#8212; i.e., what kind of access you have, how your web server is configured, etc, etc.  Of course, you can always run and deploy as root if you feel like living on the edge&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. Pablo Fernández</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-572</link>
		<dc:creator>J. Pablo Fernández</dc:creator>
		<pubDate>Thu, 29 Jul 2010 12:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-572</guid>
		<description>You could cd to #{current_path} and avoid creating the symlink at all. By the way, under which user are you deploying and which user are you running the app as?</description>
		<content:encoded><![CDATA[<p>You could cd to #{current_path} and avoid creating the symlink at all. By the way, under which user are you deploying and which user are you running the app as?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Pearson</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-544</link>
		<dc:creator>Michael Pearson</dc:creator>
		<pubDate>Tue, 20 Jul 2010 03:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-544</guid>
		<description>Thanks, you just saved me my afternoon. (see: https://gist.github.com/f25b7b8b4a63b398a400)</description>
		<content:encoded><![CDATA[<p>Thanks, you just saved me my afternoon. (see: <a href="https://gist.github.com/f25b7b8b4a63b398a400" rel="nofollow">https://gist.github.com/f25b7b8b4a63b398a400</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-165</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Tue, 13 Apr 2010 11:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-165</guid>
		<description>I think it came through correctly here... thanks for the tip, I think I&#039;m gonna try it myself!</description>
		<content:encoded><![CDATA[<p>I think it came through correctly here&#8230; thanks for the tip, I think I&#8217;m gonna try it myself!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neal clark</title>
		<link>http://www.mattvsworld.com/blog/2010/03/rails-3-bundler-capistrano/comment-page-1/#comment-164</link>
		<dc:creator>neal clark</dc:creator>
		<pubDate>Tue, 13 Apr 2010 08:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattvsworld.com/blog/?p=516#comment-164</guid>
		<description>hey matt, great post! i integrated part of it into my first production bundler deploy. cheers!

the biggest change i made was not to call &#039;bundle install&#039; if &#039;bundle check&#039; tells me there&#039;s nothing to install. here&#039;s what i have for the &#039;bundle install&#039; step on my app (i have no idea how this will look when pasted into your blog):

  task :bundle, :role =&gt; [:app, :web] do
    deploy.create_bundler_symlink
    run &quot;cd #{release_path} ; bundle check 2&gt;&amp;1 &gt; /dev/null ; if [ $? -ne 0 ] ; then sh -c &#039;bundle install --disable-shared-gems --without test&#039; ; fi&quot;
  end

thanks for the help!</description>
		<content:encoded><![CDATA[<p>hey matt, great post! i integrated part of it into my first production bundler deploy. cheers!</p>
<p>the biggest change i made was not to call &#8216;bundle install&#8217; if &#8216;bundle check&#8217; tells me there&#8217;s nothing to install. here&#8217;s what i have for the &#8216;bundle install&#8217; step on my app (i have no idea how this will look when pasted into your blog):</p>
<p>  task :bundle, :role =&gt; [:app, :web] do<br />
    deploy.create_bundler_symlink<br />
    run &#8220;cd #{release_path} ; bundle check 2&gt;&amp;1 &gt; /dev/null ; if [ $? -ne 0 ] ; then sh -c &#8216;bundle install &#8211;disable-shared-gems &#8211;without test&#8217; ; fi&#8221;<br />
  end</p>
<p>thanks for the help!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

