Skip to content

Instantly share code, notes, and snippets.

@michaeldever
Created July 21, 2017 17:41
Show Gist options
  • Save michaeldever/06b8051efe47bda1d4b7fae97d32e1f0 to your computer and use it in GitHub Desktop.
Save michaeldever/06b8051efe47bda1d4b7fae97d32e1f0 to your computer and use it in GitHub Desktop.
Capfile
# Load DSL and set up stages
require "capistrano/setup"
# Include default deployment tasks
require "capistrano/deploy"
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git
require "capistrano/rvm"
require "capistrano/bundler"
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment