diff options
-rwxr-xr-x | script/server | 2 |
1 files changed, 1 insertions, 1 deletions
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 |