From 64d5a73eb70ced634c3eef467bfefc1ea75901d9 Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Wed, 7 May 2025 10:00:24 -0500 Subject: [PATCH] Update render-build.sh --- bin/render-build.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bin/render-build.sh b/bin/render-build.sh index 1f95dc7f..a4c2a21c 100755 --- a/bin/render-build.sh +++ b/bin/render-build.sh @@ -1,12 +1,13 @@ #!/usr/bin/env bash -# exit on error set -o errexit echo "Installing gems..." bundle install -echo "Precompiling assets..." -./bin/rails assets:precompile -./bin/rails assets:clean +echo "Clobbering old assets..." +bundle exec rails assets:clobber -echo "Build complete" +echo "Precompiling assets for production..." +bundle exec rails assets:precompile + +echo "✅ Build complete" \ No newline at end of file