From baacefbd92f1c0511ab4a619051d6fdeaa600f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Sun, 28 Sep 2014 16:34:50 +0200 Subject: [PATCH] look for hashed version of default.css in script/server fixes #5254 --- script/server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/server b/script/server index 4652e04b6..faf43111e 100755 --- a/script/server +++ b/script/server @@ -117,7 +117,7 @@ then fi # Check if assets are precompiled -if [ "$RAILS_ENV" = "production" -a ! -e "public/assets/default.css" ] +if [ "$RAILS_ENV" = "production" -a -z "$(find public/assets -maxdepth 1 -name 'default-*.css' -print -quit)" ] then fatal "You're running in production mode without having assets precompiled. Now and after each update before you restart the