Speed up capistrano deployments

signup-info-prompt
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/bundler'
require 'capistrano/yarn' require 'capistrano/yarn'
require 'capistrano/rails/assets' require 'capistrano/rails/assets'
require 'capistrano/faster_assets'
require 'capistrano/rails/migrations' require 'capistrano/rails/migrations'
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }

View File

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

View File

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