What app is this about, and its version: 4.5.2~ynh1 What YunoHost version are you running: 12.1.36 (stable) What type of hardware are you using: Virtual machine
Describe your issue
I have installed Mastodon on Yunohost dozens of times without any issues. Except lately with the 4.5.x releases every installation fails at the same point. The problem seems to be related to a Ruby Bundler version mismatch, but my Linux skills aren’t good enough to try to troubleshoot the issue–hence why I use Yunohost!
EDIT: link updated as I now am apparently trusworthy.
This is 100% reproducible. I’ve tried this on virtual AND physical hardware:
do a fresh install of Debian 12
install Curl
install Yunohost
install Mastodon/Glitchsoc app
watch it fail
The install script seems to be calling Bundler 2.7, which isn’t installled:
Info: DEBUG - Activating bundler (\~> 2.7) failed:
Info: DEBUG - Could not find ‘bundler’ (\~> 2.7) - did find: \[bundler-4.0.2,bundler-4.0.2\]
Info: DEBUG - Checked in ‘GEM_PATH=/var/www/mastodon/.local/share/gem/ruby/3.4.0:/opt/rbenv/versions/3.4.5/lib/ruby/gems/3.4.0’ , execute `gem env` for more information
Info: DEBUG -
Info: DEBUG - To install the version of bundler this project requires, run `gem install bundler -v '~> 2.7'`