[DRE-commits] [gitlab] 01/01: clear assets cache before precompile

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Aug 31 13:31:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master-8.10
in repository gitlab.

commit d806b1d4c51ca3f5b1f84b91f21688d6b7211756
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Aug 31 13:33:35 2016 +0530

    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 dc1d902..3d30291 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list