Skip to content

Started receiving a warning asking to run gem update --system #420

@DannyBen

Description

@DannyBen

While testing something that used to pass without a problem many times before, I just started receiving a warning in Ruby 2.7.

Your RubyGems version (3.1.6) has a bug that prevents required_ruby_version
from working for Bundler. Any scripts that use gem install bundler will break
as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems
to avoid future breakage and silence this warning by running gem update --system 3.2.3

This is displayed right after one of my tests executed bundle exec <something>

Not sure if this is a bug, or not - but I hope I don't need to manually add gem update --system to all my workflows.

The run is here: https://github.com/DannyBen/bashly/actions/runs/3770607372/jobs/6410550361
The workflow is here: https://github.com/DannyBen/bashly/blob/master/.github/workflows/test.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions