Home > other >  synchronysing dependencies between system and application
synchronysing dependencies between system and application

Time:05-22

The following error

You have already activated strscan 3.0.1, but your Gemfile requires strscan 3.0.3.  
Since strscan is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports strscan as a default gem. (Gem::LoadError)

where bundle -v Bundler version 2.3.13

regards a dependency which is not directly invoked in the Gemfile. The Gemfile.lock does state strscan (3.0.3) strscan is invoked by net-imap (0.2.3)

gem update --system
gem update bundler
touch tmp/restart.txt

does not solve the issue.

How can this versioning matter be ironed out? Be it via explicit verisoning or removal of dependency

CodePudding user response:

Just use this command on your SSH server

gem update strscan

to check current strscan version use

gem list | grep strscan

CodePudding user response:

Pretty much have to monkey patch the gemfile.lock to use 3.0.0 instead! https://openbuildservice.org/2022/05/11/post-mortem/

  • Related