We had to reduce the range of Rubies that this Gem requires to ~> 3.3 to exclude the 4.0 series as there were failing tests:
lib/sapi_client.rb:6:in 'Kernel#require': cannot load such file -- logger (LoadError)
Apparently logger and other Gems were previously "default" Gems and included in the standard library, but now they must be explicitly added as dependencies in the gemspec, see https://upgraderuby.com/articles/preparing-for-ruby-4-0-10-gems-becoming-non-default/
Actually, this might help alleviate https://github.com/epimorphics/frontend-backlog/issues/118.
We had to reduce the range of Rubies that this Gem requires to
~> 3.3to exclude the4.0series as there were failing tests:Apparently
loggerand other Gems were previously "default" Gems and included in the standard library, but now they must be explicitly added as dependencies in thegemspec, see https://upgraderuby.com/articles/preparing-for-ruby-4-0-10-gems-becoming-non-default/Actually, this might help alleviate https://github.com/epimorphics/frontend-backlog/issues/118.