From d806b1d4c51ca3f5b1f84b91f21688d6b7211756 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Wed, 31 Aug 2016 13:33:35 +0530 Subject: [PATCH] clear assets cache before precompile --- debian/rake-tasks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rake-tasks.sh b/debian/rake-tasks.sh index dc1d902757..3d30291e79 100755 --- a/debian/rake-tasks.sh +++ b/debian/rake-tasks.sh @@ -39,7 +39,7 @@ chmod 0700 ${gitlab_app_root}/config/secrets.yml echo "Precompiling assets..." -su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production' +su ${gitlab_user} -s /bin/sh -c 'bundle exec rake tmp:cache:clear assets:precompile RAILS_ENV=production' # Start gitlab printf "Starting GitLab...\n"