Speed up capistrano deployments

This commit is contained in:
Eugen Rochko 2017-02-16 02:34:21 +01:00
parent 24ba7c9762
commit 9c88d1b99e
3 changed files with 5 additions and 0 deletions

View file

@ -8,6 +8,7 @@ require 'capistrano/rbenv'
require 'capistrano/bundler'
require 'capistrano/yarn'
require 'capistrano/rails/assets'
require 'capistrano/faster_assets'
require 'capistrano/rails/migrations'
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }

View file

@ -82,6 +82,7 @@ group :development do
gem 'capistrano-rails'
gem 'capistrano-rbenv'
gem 'capistrano-yarn'
gem 'capistrano-faster-assets', '~> 1.0'
end
group :production do

View file

@ -89,6 +89,8 @@ GEM
capistrano-bundler (1.2.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-faster-assets (1.0.2)
capistrano (>= 3.1)
capistrano-harrow (0.5.3)
capistrano-rails (1.2.2)
capistrano (~> 3.1)
@ -454,6 +456,7 @@ DEPENDENCIES
browserify-rails
bullet
capistrano
capistrano-faster-assets (~> 1.0)
capistrano-rails
capistrano-rbenv
capistrano-yarn