From 9c88d1b99ea2baa5e55251dc98f10b1ee0559ee9 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 16 Feb 2017 02:34:21 +0100 Subject: [PATCH] Speed up capistrano deployments --- Capfile | 1 + Gemfile | 1 + Gemfile.lock | 3 +++ 3 files changed, 5 insertions(+) diff --git a/Capfile b/Capfile index 4a3b6d675..5bbf6933b 100644 --- a/Capfile +++ b/Capfile @@ -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 } diff --git a/Gemfile b/Gemfile index 423560bb6..55c1de693 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/Gemfile.lock b/Gemfile.lock index 4f54a621c..f50edaf95 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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