<?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: Late night capistrano</title>
	<atom:link href="http://paulgoscicki.com/archives/2007/02/late-night-capistrano/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/</link>
	<description>Random pieces of code, thoughts and movie reviews</description>
	<pubDate>Tue, 06 Jan 2009 08:02:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paul Goscicki</title>
		<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/comment-page-1/#comment-26189</link>
		<dc:creator>Paul Goscicki</dc:creator>
		<pubDate>Thu, 17 May 2007 17:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/02/late-night-capistrano/#comment-26189</guid>
		<description>This is only a workaround that does not fix the described underlying problem.</description>
		<content:encoded><![CDATA[<p>This is only a workaround that does not fix the described underlying problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robertas Aganauskas</title>
		<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/comment-page-1/#comment-26184</link>
		<dc:creator>Robertas Aganauskas</dc:creator>
		<pubDate>Thu, 17 May 2007 16:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/02/late-night-capistrano/#comment-26184</guid>
		<description>Just define :after_deploy_with_migrations task in your recipes file.

There is one caveat (feature?) though: (at least for me) after_deploy_with_migrations seems not to be executed if cap_deploy_with_migrations task fails at some point. Other that it works just fine.</description>
		<content:encoded><![CDATA[<p>Just define :after_deploy_with_migrations task in your recipes file.</p>
<p>There is one caveat (feature?) though: (at least for me) after_deploy_with_migrations seems not to be executed if cap_deploy_with_migrations task fails at some point. Other that it works just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Goscicki</title>
		<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/comment-page-1/#comment-19568</link>
		<dc:creator>Paul Goscicki</dc:creator>
		<pubDate>Fri, 23 Mar 2007 09:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/02/late-night-capistrano/#comment-19568</guid>
		<description>I'm glad to hear I'm not alone in my pain.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad to hear I&#8217;m not alone in my pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis de la Rosa</title>
		<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/comment-page-1/#comment-19530</link>
		<dc:creator>Luis de la Rosa</dc:creator>
		<pubDate>Fri, 23 Mar 2007 03:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/02/late-night-capistrano/#comment-19530</guid>
		<description>I just opened a ticket for this exact problem because it is causing me the same grief.  The ticket is over at http://dev.rubyonrails.org/ticket/7897

I'll try to keep you updated.  I have 3 solutions to this and waiting to hear back from Jamis or whomever wants to look into it before submitting a patch.</description>
		<content:encoded><![CDATA[<p>I just opened a ticket for this exact problem because it is causing me the same grief.  The ticket is over at <a href="http://dev.rubyonrails.org/ticket/7897" >http://dev.rubyonrails.org/ticket/7897</a></p>
<p>I&#8217;ll try to keep you updated.  I have 3 solutions to this and waiting to hear back from Jamis or whomever wants to look into it before submitting a patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Goscicki</title>
		<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/comment-page-1/#comment-17795</link>
		<dc:creator>Paul Goscicki</dc:creator>
		<pubDate>Wed, 21 Feb 2007 10:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/02/late-night-capistrano/#comment-17795</guid>
		<description>Evan: there is no default "after_deploy" task. There is, however, a default "after_deploy" &lt;em&gt;hook&lt;/em&gt;. You use it like that:

&lt;pre class="code"&gt;
task :after_deploy, :roles =&gt; :app do
  custom_functions
  (...)
end
&lt;/pre&gt;

What I was gripping about is that it does not get executed after &lt;code&gt;deploy_with_migrations&lt;/code&gt;, which is kind of weird. Since I have important tasks executed at &lt;code&gt;after_deploy&lt;/code&gt; I cannot use &lt;code&gt;deploy_with_migrations&lt;/code&gt; as this code will not be executed.</description>
		<content:encoded><![CDATA[<p>Evan: there is no default &#8220;after_deploy&#8221; task. There is, however, a default &#8220;after_deploy&#8221; <em>hook</em>. You use it like that:</p>
<pre class="code">
task :after_deploy, :roles => :app do
  custom_functions
  (...)
end
</pre>
<p>What I was gripping about is that it does not get executed after <code>deploy_with_migrations</code>, which is kind of weird. Since I have important tasks executed at <code>after_deploy</code> I cannot use <code>deploy_with_migrations</code> as this code will not be executed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://paulgoscicki.com/archives/2007/02/late-night-capistrano/comment-page-1/#comment-17789</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 21 Feb 2007 06:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://paulgoscicki.com/archives/2007/02/late-night-capistrano/#comment-17789</guid>
		<description>i don't think there's a default after_deploy task even with the normal `cap deploy`.  after_update_code sure, but after_deploy? after_migrate?  those doesn't exist out of the box.  you can use after_update_code to do some more extra tasks after deploying, but what do you need to do after migration anyway?</description>
		<content:encoded><![CDATA[<p>i don&#8217;t think there&#8217;s a default after_deploy task even with the normal `cap deploy`.  after_update_code sure, but after_deploy? after_migrate?  those doesn&#8217;t exist out of the box.  you can use after_update_code to do some more extra tasks after deploying, but what do you need to do after migration anyway?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
