Skip to content

Instantly share code, notes, and snippets.

@dakatsuka
Created May 13, 2011 17:14
Show Gist options
  • Save dakatsuka/970922 to your computer and use it in GitHub Desktop.
Save dakatsuka/970922 to your computer and use it in GitHub Desktop.
Capistrano deploy.rb
require 'capistrano/ext/multistage'
require 'bundler/capistrano'
require 'erb'
set :application, "app"
set :scm, :git
set :repository, "git://domain.com/path/to/repository.git"
set :deploy_subdir, "/path/to/app" # require https://gist.github.com/970910 to Capfile
set :deploy_via, :copy
set :use_sudo, false
set :bundle_without, [:development, :test]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment