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

Remove circular requires, fix Kernel#require warning #457

Merged
merged 1 commit into from
Jun 15, 2022
Merged

Remove circular requires, fix Kernel#require warning #457

merged 1 commit into from
Jun 15, 2022

Conversation

nickcampbell18
Copy link
Contributor

I18n::Tasks::Concurrent::CachedValue was requiring itself - this caused a warning that is avoidable.

Whilst Siblings does technically depend on Node, Node itself has already been required upfront by I18n::Tasks::Data::FileSystemBase, so removing this require line resolves the warning.

Collectively, these two changes resolved issues for me when loading the gem using Ruby 3.1.2p20

I18n::Tasks::Concurrent::CachedValue was requiring itself - this caused
a warning that is avoidable.

Whilst Siblings does technically depend on Node, Node itself has already
been required upfront by I18n::Tasks::Data::FileSystemBase, so removing
this `require` line resolves the warning.
@glebm glebm merged commit 2224dc2 into glebm:main Jun 15, 2022
@glebm
Copy link
Owner

glebm commented Jun 15, 2022

Thanks!

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.

2 participants