Append gem 'erb' to Gemfile as suggested by peippo

This commit is contained in:
Anthony Wang 2023-07-08 15:42:23 +00:00
parent f35b3575ac
commit 1ea041564c
Signed by: a
GPG key ID: 42A5B952E6DD8D38
2 changed files with 1 additions and 2 deletions

View file

@ -42,6 +42,7 @@ prepare() {
cd mastodon-$pkgver
echo "gem 'psych', '< 4'" >> Gemfile
echo "gem 'erb'" >> Gemfile
}
build() {

View file

@ -16,8 +16,6 @@ post_upgrade() {
echo "Setting ownership of mastodon files"
find -path ./public/system -prune -o -exec chown -h mastodon:mastodon {} +
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"