I'm trying to upgrade a Mastodon instance (from v4.0.2). I have no knowledge of ruby and I follow the instructions blindly. I have managed to update ruby to the latest version, but when I run bundle install
I receive this message. how can I solve that?
$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Your bundle is locked to json-canonicalization (0.3.2) from rubygems repository https://rubygems.org/ or installed
locally, but that version can no longer be found in that source. That means the author of json-canonicalization
(0.3.2) has removed it. You'll need to update your bundle to a version other than json-canonicalization (0.3.2) that
hasn't been removed in order to install.
Yesterday I tried also to upgrade from 4.1.9 to the 4.2.x branch. I planned to start with 4.2.0 and the going until current 4.2.3, but I got the same error and I'm not a Ruby expert at all.
At the end, I was able to upgrade to 4.2.3 without this error (I presume it was a old dependency that was bumped on 4.2.3) using the guide from 4.2.0 (bundle install, yarm whatever, database updagre and so on).
I saw there was few differences betweeen 4.2.0 and 4.2.3 so I went for it. Everything looks good one day later.