parent
c7b4b77ce8
commit
baacefbd92
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue