OK, gave this a shot (upgrading from 4.1.10 to 4.2.1) and received a couple of errors. I'd be grateful for advice but not a burning issue for me right now.
Warning: the running version of Bundler (2.2.22) is older than the version that created the lockfile (2.4.13). We suggest you to upgrade to the version that created the lockfile by running
gem install bundler:2.4.13.
I was successful in running that command but it didn't seem to affect the version of bundle
in the path.
Later, I received these errors:
bundler: failed to load command: rails (/home/user/apps/m/mastodon/vendor/bundle/ruby/3.0.0/bin/rails)
/opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:302:in
check_for_activated_spec!': You have already activated uri 0.10.1, but your Gemfile requires uri 0.12.2. Since uri is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports uri as a default gem. (Gem::LoadError)
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:31:in block in setup'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/spec_set.rb:159:in
each'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/spec_set.rb:159:in each'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:26:in
map'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:26:in setup'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler.rb:149:in
setup'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/setup.rb:10:in block in <top (required)>'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/ui/shell.rb:136:in
with_level'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/ui/shell.rb:88:in silence'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/setup.rb:10:in
<top (required)>'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:61:in require_relative'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:61:in
kernel_load'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:28:in run'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:474:in
exec'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:30:in
dispatch'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:24:in
start'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/libexec/bundle:49:in block in <top (required)>'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/friendly_errors.rb:128:in
with_friendly_errors'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/libexec/bundle:37:in <top (required)>'
from /opt/rh/rh-ruby30/root/usr/bin/bundle:23:in
load'
from /opt/rh/rh-ruby30/root/usr/bin/bundle:23:in <main>'
bundler: failed to load command: rails (/home/user/apps/m/mastodon/vendor/bundle/ruby/3.0.0/bin/rails)
/opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:302:in
check_for_activated_spec!': You have already activated uri 0.10.1, but your Gemfile requires uri 0.12.2. Since uri is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports uri as a default gem. (Gem::LoadError)
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:31:in block in setup'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/spec_set.rb:159:in
each'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/spec_set.rb:159:in each'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:26:in
map'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/runtime.rb:26:in setup'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler.rb:149:in
setup'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/setup.rb:10:in block in <top (required)>'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/ui/shell.rb:136:in
with_level'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/ui/shell.rb:88:in silence'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/setup.rb:10:in
<top (required)>'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:61:in require_relative'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:61:in
kernel_load'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:28:in run'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:474:in
exec'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_command'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:30:in
dispatch'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:24:in
start'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/libexec/bundle:49:in block in <top (required)>'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/lib/bundler/friendly_errors.rb:128:in
with_friendly_errors'
from /opt/rh/rh-ruby30/root/usr/share/gems/gems/bundler-2.2.22/libexec/bundle:37:in <top (required)>'
from /opt/rh/rh-ruby30/root/usr/bin/bundle:23:in
load'
from /opt/rh/rh-ruby30/root/usr/bin/bundle:23:in <main>'