Mastodon update fails (4.3.6->4.5.0), ruby 3.4.5 not installed, provision fails

I was talking about rbenv version `3.4.5’
To do this, use this command:

sudo yunohost app shell mastodon

Then, use the command which will allow you to view the installed versions.

rbenv install --list

If it is present, you can activate it with this command:

rbenv global 3.4.5

Otherwise, install the Ruby build for the specified version using:

rbenv install 3.4.5

Once installation or activation is complete (if present), you can rebuild the resources.
Use the following commands:

cd live

Afterwards,

RAILS_ENV=production bundle exec rails assets:precompile

It will probably be necessary to restart the Mastodon services:

systemctl restart mastodon-web.service mastodon-sidekiq.service

1 Like