summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Wang2023-07-03 09:52:19 -0500
committerAnthony Wang2023-07-03 09:58:15 -0500
commit51456c120226573274c3967af93df636d8af0559 (patch)
tree0edf1f84e388d153d165749689a779e90e802a24
parentb3525677ff1aba939e5071cad354a14da77f287d (diff)
downloadaur-51456c120226573274c3967af93df636d8af0559.tar.gz
Refresh entire bundle as suggested by peippo
-rw-r--r--mastodon.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/mastodon.install b/mastodon.install
index 1c17b03af73d..23c7781c9964 100644
--- a/mastodon.install
+++ b/mastodon.install
@@ -16,6 +16,8 @@ post_upgrade() {
echo "Setting ownership of mastodon files"
chown mastodon:mastodon -R .
+ echo "Refreshing bundle"
+ sudo -u mastodon RAILS_ENV=production NODE_OPTIONS=--openssl-legacy-provider bundle install --redownload --standalone
echo "Upgrading database schema"
sudo -u mastodon RAILS_ENV=production bundle exec rails db:migrate
echo "Precompiling assets"