about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-16 02:34:21 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-16 02:34:21 +0100
commit9c88d1b99ea2baa5e55251dc98f10b1ee0559ee9 (patch)
tree1891996bd557863ad2f5572f9ab3de381ee43f15
parent24ba7c9762a583f3e1105162f4a43a22a17a4627 (diff)
Speed up capistrano deployments
-rw-r--r--Capfile1
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock3
3 files changed, 5 insertions, 0 deletions
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