Skip to content

Support gemification of set #5127

@casperisfine

Description

@casperisfine

Right now on Ruby 3.0, if you run:

$ gem install set
$ bundle exec some/script/using/set.rb

You'll get the following double load warning:

/opt/rubies/3.0.3/lib/ruby/3.0.0/set.rb:648: warning: already initialized constant Set::InspectKey
~/.gem/ruby/3.0.3/gems/set-1.0.2/lib/set.rb:815: warning: previous definition of InspectKey was here

Based on previous similar issues I suppose set has to be vendored as well? Or PR simply not used anymore (it's mostly a Hash decorator in the end).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions