Mina::GitSubmodules

Plugin for Mina that adds caching for git submodules when deploying

Installation & Usage

Add this line to your application's Gemfile:

gem 'mina-git-submodules', require: false

And then execute:

$ bundle

Or install it yourself as:

$ gem install mina-git-submodules

replace mina/git with mina/git-submodules in your config/deploy.rb:

require 'mina/bundler'
require 'mina/rails'
require 'mina/git-submodules'
...

task setup: :environment do
  ...
end

desc 'Deploys the current version to the server.'
task deploy: :environment do
  ...
end

For existing deploys remove the existing 'scm' folder.