Skip to content

Tests fail with Ruby 4.0 series #77

Description

@ajtucker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions