Skip to content

Instantly share code, notes, and snippets.

set :deploy_via, "remote_cache_with_project_root"
set :project_root, "subfolder_name"
require 'capistrano/recipes/deploy/strategy/remote_cache'
module Capistrano
module Deploy
module Strategy
# Implements the deployment strategy that keeps a cached checkout of
# the source code on each remote server. Each deploy simply updates the
# cached checkout, and then does a copy from the cached copy to the
# final deployment location.
$:.unshift File.join(File.dirname(__FILE__), 'lib')
<div class="post" xmlns:dc="http://purl.org/dc/terms/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<h2 property="dc:title">SemanticJournal blog engine</h2>
<div class="post_meta">
By <span rel="dc:creator" resource="http://swirrl.com/ric.rdf#me" >Ric Roberts</span>
on <span property="dc:date" datatype="xsd:dateTime" content="2009-12-30T12:30:23+00:00" >30 Dec 2009</span>
</div>
<div class="post_content">
Sorry if I’ve introduced...
</div>
</div>