Created
October 22, 2018 00:30
-
-
Save minardimedia/5b1d563d45a8e56e41d7fae56a09e485 to your computer and use it in GitHub Desktop.
CAPFILE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load DSL and set up stages | |
require "capistrano/setup" | |
# Include default deployment tasks | |
require "capistrano/deploy" | |
require "capistrano/rails" | |
require "capistrano/scm/git" | |
install_plugin Capistrano::SCM::Git | |
# Include tasks from other gems included in your Gemfile | |
# | |
# For documentation on these, see for example: | |
# | |
# https://github.com/capistrano/rvm | |
# https://github.com/capistrano/rbenv | |
# https://github.com/capistrano/chruby | |
# https://github.com/capistrano/bundler | |
# https://github.com/capistrano/rails | |
# https://github.com/capistrano/passenger | |
# | |
# require 'capistrano/rvm' | |
require 'capistrano/rbenv' | |
require 'capistrano/bundler' | |
require 'capistrano/rails/assets' | |
require 'capistrano/rails/migrations' | |
require 'capistrano/puma' | |
install_plugin Capistrano::Puma # Default puma tasks | |
install_plugin Capistrano::Puma::Workers # if you want to control the workers (in cluster mode) | |
install_plugin Capistrano::Puma::Jungle # if you need the jungle tasks | |
#install_plugin Capistrano::Puma::Monit # if you need the monit tasks | |
install_plugin Capistrano::Puma::Nginx # if you want to upload a nginx site template | |
# Load custom tasks from `lib/capistrano/tasks` if you have any defined | |
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } | |
Dir.glob('lib/capistrano/**/*.rb').each { |r| import r } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment