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