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

Ignore version file to prevent zeitwerk eagerload issue #22

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

benjaminwood
Copy link
Contributor

The version file doesn't define a Version constant. It defines a VERSION constant, which is typical for a rubygem. To avoid this issue we're explicitly ignoring the version file.

expected file lib/selective/ruby/core/version.rb to define constant
Selective::Ruby::Core::Version, but didn't

The version file doesn't define a Version constant. It defines a
VERSION constant, which is typical for a rubygem. To avoid this issue
we're explicitly ignoring the version file.

> expected file lib/selective/ruby/core/version.rb to define constant
> Selective::Ruby::Core::Version, but didn't

Co-authored-by: Nate Vick <nate.vick@hint.io>
@benjaminwood benjaminwood self-assigned this Dec 8, 2023
@benjaminwood benjaminwood merged commit 4b691ad into main Dec 8, 2023
4 checks passed
@benjaminwood benjaminwood deleted the bugfix-for-zeitwerk-eager-loading branch December 8, 2023 23:15
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