Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop depending on Set #659

Merged
merged 1 commit into from Dec 2, 2021
Merged

Conversation

casperisfine
Copy link

It is now a gem, and since spring load before bundler if you have multiple set versions installed, you might load the wrong one causing already defined constant warnings.

Initially wrongly reported as a bundler issue: rubygems/rubygems#5127

Reported to be my @Bowman-42

@@ -181,7 +181,7 @@ def serve(client)
pid = fork {
# Make sure to close other clients otherwise their graceful termination
# will be impossible due to reference from this fork.
@clients.select { |c| c != client }.each(&:close)
@clients.each_key { |c| c.clonse if c != client }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@clients.each_key { |c| c.clonse if c != client }
@clients.each_key { |c| c.close if c != client }

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, thank you :)

It is now a gem, and since spring load before bundler
if you have multiple `set` versions installed, you might
load the wrong one causing already defined constant warnings.
@casperisfine
Copy link
Author

cc @rafaelfranca, this isn't a big bug as it's still very rare to have set installed as a gem, but would be nice to have it released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants