Skip to content

Instantly share code, notes, and snippets.

load 'deploy' if respond_to?(:namespace) # cap2 differentiator
set :repository, 'git://github.com/username/git-repo.git' # change this to the git repository
set :scm, :git
set :deploy_via, :copy
set :git_shallow_clone, 1
set :user, 'username' # change this to dreamhost username
set :application, 'dreamhost.com' # change this to foldername of rails app
set :deploy_to, "/home/#{user}/#{application}"