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"