From 910a0aadfb9e44388e14fbc2243a15bb18722dcf Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Wed, 30 Nov 2016 14:49:46 +0100 Subject: [PATCH] use assets group on deploy --- config/deploy.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index a59f717a..1fe4906c 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -94,9 +94,9 @@ namespace :deploy do on roles(fetch(:assets_roles)) do run_locally do with rails_env: fetch(:stage) do - execute "RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:precompile" - execute "RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:dedigest" - execute "RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:gzip" + execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:precompile" + execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:dedigest" + execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:gzip" end end