<?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>One Man's Walk in work &#187; capistrano</title>
	<atom:link href="http://onemanswalk.com/work/tag/capistrano/feed/" rel="self" type="application/rss+xml" />
	<link>http://onemanswalk.com/work</link>
	<description>jeremy lightsmith on agile, ruby, and consulting</description>
	<lastBuildDate>Wed, 08 Sep 2010 05:57:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A New Blog, Git, &amp; Capistrano</title>
		<link>http://onemanswalk.com/work/2008/08/24/a-new-blog-git-capistrano/</link>
		<comments>http://onemanswalk.com/work/2008/08/24/a-new-blog-git-capistrano/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 19:44:06 +0000</pubDate>
		<dc:creator>jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://onemanswalk.com/work/?p=63</guid>
		<description><![CDATA[	I&#8217;ve had my fun with ruby.

	I wanted to learn ruby, so I wrote myself a blog.  Then, I wanted to learn rails, so I migrated it to rails.  Then, the spam was too much, so I migrated to Typo.  Then, I couldn&#8217;t take Typo&#8217;s memory footprint, so I moved to Mephisto.

	But you [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;ve had my fun with ruby.</p>

	<p>I wanted to learn ruby, so I wrote myself a blog.  Then, I wanted to learn rails, so I migrated it to rails.  Then, the spam was too much, so I migrated to Typo.  Then, I couldn&#8217;t take Typo&#8217;s memory footprint, so I moved to Mephisto.</p>

	<p>But you know what?  Even Mephisto is a pain to deploy, and is still a resource hog.  It&#8217;s kind of the nature of ruby and rails apps.  And what&#8217;s the benefit to justify the cost?  Aren&#8217;t there other more mature, stable, better supported and more flexible blog engines in other languages?</p>

	<p>&#8230;yes, there are like 50 of them.</p>

	<p>So I&#8217;ve migrated yet again, this time to Wordpress.</p>

	<p>I&#8217;m really happy with it, but I did have some cool toys in my rails world that I didn&#8217;t want to give up.  I can use my own machine as a staging environment to blog changes.  I can also deploy with a simple &#8220;cap deploy&#8221;.</p>

	<p>So.</p>

	<p>My entire website now lives on <a href="http://github.com/jeremylightsmith/blog" title="">github</a> and I use capistrano to deploy it after making edits locally.  It looks something like this:</p>

	<p>
<div class="wp_syntax"><div class="code"><pre class="bash">git commit -m <span style="color: #ff0000;">&quot;...&quot;</span>
git push
&nbsp;
cap pull</pre></div></div>
</p>



	<p>And to give you an idea of the goodness that is ruby and cap, I also wrote a script to pull the databases on my server down to my staging environment.  After all, what&#8217;s the point of staging if it uses different data.  Using looks something like this:</p>

	<p>
<div class="wp_syntax"><div class="code"><pre class="bash">cap backup
&nbsp;
rake db:pull db:restore</pre></div></div>
</p>



	<p>If you want to see how this is done, check out <a href="http://github.com/jeremylightsmith/blog" title="">repository</a></p>
 ]]></content:encoded>
			<wfw:commentRss>http://onemanswalk.com/work/2008/08/24/a-new-blog-git-capistrano/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
