OSDN Git Service

remove old assets before compiling
authorJan Schlüter <github@jan-schlueter.de>
Thu, 19 Sep 2013 17:25:40 +0000 (19:25 +0200)
committerJan Schlüter <github@jan-schlueter.de>
Thu, 19 Sep 2013 17:25:40 +0000 (19:25 +0200)
doc/update/6.0-to-6.1.md

index dcd09be..e37ed9c 100644 (file)
@@ -53,6 +53,7 @@ sudo -u git -H bundle install --without development test mysql --deployment
 
 sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
 sudo -u git -H bundle exec rake migrate_iids RAILS_ENV=production
+sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
 sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
 sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
 ```