look for hashed version of default.css in script/server

fixes #5254
This commit is contained in:
Jonne Haß 2014-09-28 16:34:50 +02:00
parent c7b4b77ce8
commit baacefbd92

View file

@ -117,7 +117,7 @@ then
fi fi
# Check if assets are precompiled # 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 then
fatal "You're running in production mode without having assets fatal "You're running in production mode without having assets
precompiled. Now and after each update before you restart the precompiled. Now and after each update before you restart the