<?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>Code for Concinnity &#187; capistrano</title>
	<atom:link href="http://cfc.kizzx2.com/index.php/tag/capistrano/feed/" rel="self" type="application/rss+xml" />
	<link>http://cfc.kizzx2.com</link>
	<description>beautiful and elegant solutions</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:24:20 +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>Getting the currently running host name in Capistrano</title>
		<link>http://cfc.kizzx2.com/index.php/getting-the-currently-running-host-name-in-capistrano/</link>
		<comments>http://cfc.kizzx2.com/index.php/getting-the-currently-running-host-name-in-capistrano/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 07:31:47 +0000</pubDate>
		<dc:creator>kizzx2</dc:creator>
				<category><![CDATA[Useful tips]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[deploy]]></category>

		<guid isPermaLink="false">http://cfc.kizzx2.com/index.php/getting-the-currently-running-host-name-in-capistrano/</guid>
		<description><![CDATA[I don&#8217;t know if it is so obvious that no people talked about it, or that people actually don&#8217;t need to use it. I find that for any non-trivial tasks, it is necessary. There is a thread on Google Groups that talked about it but it didn&#8217;t spell out the answer directly. So here it [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="margin-left: 10px; float: right;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fcfc.kizzx2.com%2Findex.php%2Fgetting-the-currently-running-host-name-in-capistrano%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fcfc.kizzx2.com%2Findex.php%2Fgetting-the-currently-running-host-name-in-capistrano%2F&amp;source=kizzx2&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p>I don&#8217;t know if it is so obvious that no people talked about it, or that people actually don&#8217;t need to use it. I find that for any non-trivial tasks, it is necessary. There is a <a href="http://groups.google.com/group/capistrano/browse_thread/thread/a83de628bcd73752/89b55c5b74177554?lnk=gst">thread</a> on Google Groups that talked about it but it didn&#8217;t spell out the answer directly. So here it is:</p>

<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">current_host = capture<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;echo $CAPISTRANO:HOST$&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">strip</span></div></td></tr></tbody></table></div>

<p>Kind of anti-climatic lol.</p>
]]></content:encoded>
			<wfw:commentRss>http://cfc.kizzx2.com/index.php/getting-the-currently-running-host-name-in-capistrano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

