|
| 1 | +# Load DSL and set up stages |
| 2 | +require "capistrano/setup" |
| 3 | + |
| 4 | +# Include default deployment tasks |
| 5 | +require "capistrano/deploy" |
| 6 | + |
| 7 | +# Load the SCM plugin appropriate to your project: |
| 8 | +# |
| 9 | +# require "capistrano/scm/hg" |
| 10 | +# install_plugin Capistrano::SCM::Hg |
| 11 | +# or |
| 12 | +# require "capistrano/scm/svn" |
| 13 | +# install_plugin Capistrano::SCM::Svn |
| 14 | +# or |
| 15 | +require "capistrano/scm/git" |
| 16 | +install_plugin Capistrano::SCM::Git |
| 17 | + |
| 18 | +# Include tasks from other gems included in your Gemfile |
| 19 | +# |
| 20 | +# For documentation on these, see for example: |
| 21 | +# |
| 22 | +# https://github.com/capistrano/rvm |
| 23 | +# https://github.com/capistrano/rbenv |
| 24 | +# https://github.com/capistrano/chruby |
| 25 | +# https://github.com/capistrano/bundler |
| 26 | +# https://github.com/capistrano/rails |
| 27 | +# https://github.com/capistrano/passenger |
| 28 | +# |
| 29 | +require "capistrano/rvm" |
| 30 | +# require "capistrano/rbenv" |
| 31 | +# require "capistrano/chruby" |
| 32 | +# require "capistrano/bundler" |
| 33 | +# require "capistrano/rails/assets" |
| 34 | +# require "capistrano/rails/migrations" |
| 35 | +# require "capistrano/passenger" |
| 36 | + |
| 37 | +# Load custom tasks from `lib/capistrano/tasks` if you have any defined |
| 38 | +Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } |
| 39 | + |
| 40 | +require 'capistrano/puma' |
| 41 | +install_plugin Capistrano::Puma |
| 42 | +install_plugin Capistrano::Puma::Systemd |
0 commit comments