diff --git a/Capfile b/Capfile index f8b577ffc..079c16d83 100644 --- a/Capfile +++ b/Capfile @@ -15,6 +15,11 @@ require "capistrano/deploy" require "capistrano/scm/git" install_plugin Capistrano::SCM::Git + +require "capistrano/scm/git-with-submodules" +install_plugin Capistrano::SCM::Git::WithSubmodules + + # Include tasks from other gems included in your Gemfile # # For documentation on these, see for example: diff --git a/Gemfile b/Gemfile index 9eacf902c..70c1bcc06 100644 --- a/Gemfile +++ b/Gemfile @@ -43,7 +43,7 @@ group :development do gem 'capistrano-maintenance','1.2.1', require: false gem 'capistrano-passenger', '0.2.0', require: false gem 'capistrano-sidekiq','1.0.2' - + gem 'capistrano-git-with-submodules', '2.0.3' # gem 'listen', '~> 3.1.5' # gem 'spring-watcher-listen', '~> 2.0.0' # diff --git a/Gemfile.lock b/Gemfile.lock index a1eada70f..c581b11d4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -782,6 +782,8 @@ GEM sshkit (>= 1.9.0) capistrano-bundler (1.6.0) capistrano (~> 3.1) + capistrano-git-with-submodules (2.0.3) + capistrano (~> 3.7) capistrano-maintenance (1.2.1) capistrano (>= 3.0) capistrano-passenger (0.2.0) @@ -1120,6 +1122,7 @@ DEPENDENCIES bystander (= 2.0.0)! capistrano (= 3.11.0) capistrano-bundler (= 1.6.0) + capistrano-git-with-submodules (= 2.0.3) capistrano-maintenance (= 1.2.1) capistrano-passenger (= 0.2.0) capistrano-rails (= 1.4.0)