From 4d552172643c981e10490e21e4c343baad5a933e Mon Sep 17 00:00:00 2001 From: nemsia Date: Fri, 8 Jun 2018 16:10:26 +0200 Subject: [PATCH] Fix Upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 4ceea66..3858ee8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -141,8 +141,10 @@ MCOMMANDS # Apply Mastodon upgrade ( +pushd $final_path/live RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:clean RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:precompile +popd sudo su - $app <