From 1b5198d725d001d6d41db254e557335f025f0c63 Mon Sep 17 00:00:00 2001 From: Todd Blackman Date: Thu, 19 Sep 2024 17:48:22 -0400 Subject: [PATCH] debug --- config/deploy/docker/lib/asset_compiler.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/deploy/docker/lib/asset_compiler.rb b/config/deploy/docker/lib/asset_compiler.rb index d94d622ca..413f3cf4d 100644 --- a/config/deploy/docker/lib/asset_compiler.rb +++ b/config/deploy/docker/lib/asset_compiler.rb @@ -62,8 +62,9 @@ def run! def recompile! time_me name: 'Compiling assets' do - better_system('source .env; bundle exec rails --quiet assets:precompile > /dev/null 2>&1') # TODO: don't call out to rake like this, it's inefficient - # Run this twice, there might be a bug + #better_system('source .env; bundle exec rails --quiet assets:precompile > /dev/null 2>&1') # TODO: don't call out to rake like this, it's inefficient + better_system('source .env; bundle exec rails --quiet assets:precompile') # TODO: don't call out to rake like this, it's inefficient + # Run this twice; there might be a bug better_system('source .env; bundle exec rails --quiet assets:precompile > /dev/null 2>&1') end end