mastodon_ynh
mastodon_ynh copied to clipboard
Update Ruby to 3.2.3
Describe the bug
The Yunohost mastodon app is still using Ruby 3.2.2, but tootcl command needs 3.2.3 version. As workaround, we install Ruby 3.2.3 manually but after each upgrade the 3.2.3 version is removed and 3.2.2 version is installed.
Context
- Hardware: VPS bought online
- YunoHost version: 11.2.20.2
- I have access to my server: Through SSH and through the webadmin
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
- If yes, please explain: Ruby 3.2.3 installed manually
- Using, or trying to install package version/branch:
- If upgrading, current package version: mastodon 4.2.10~ynh1
Steps to reproduce
$ sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh --debug
...
INFO Removing Ruby-3.2.3
INFO Installing Ruby 3.2.2
...
# RAILS_ENV=production bin/tootctl media usage
rbenv: version `3.2.3' is not installed (set by /var/www/mastodon/live/.ruby-version)
Expected behavior
Getting tootcl working.