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

Zeitwerk Check Fails in Rails 7 #206

Open
edmondchui opened this issue Aug 21, 2024 · 1 comment
Open

Zeitwerk Check Fails in Rails 7 #206

edmondchui opened this issue Aug 21, 2024 · 1 comment

Comments

@edmondchui
Copy link
Contributor

In Rails 7, running zeitwerk check gives the following error

$ bin/rails zeitwerk:check
/Users/dev/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bundler/gems/spree_reviews-36ef2809191c/config/initializers/spree_permitted_attributes.rb:3: warning: already initialized constant Spree::PermittedAttributes::ATTRIBUTES
/Users/dev/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/spree_core-4.6.6/lib/spree/permitted_attributes.rb:3: warning: previous definition of ATTRIBUTES was here
rails aborted!
@edmondchui
Copy link
Contributor Author

edmondchui commented Aug 21, 2024

The issue is caused by commit a9343f7 which failed to merge.

The solution is in this pull request #201 (reference)

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

No branches or pull requests

1 participant