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::NameError: expected file /opt/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/bundler/gems/solidus_shipstation-20783e6a9dfd/app/models/spree/shipment_decorator.rb to define constant Spree::ShipmentDecorator, but didn't #15

Open
paulsingh opened this issue Sep 10, 2020 · 2 comments

Comments

@paulsingh
Copy link

Solidus Version:
2.10.2

To Reproduce

  1. With Solidus running on an existing Rails 6 app, add the solidus_shipstation gem along with the configuration details outlined in the README.
  2. While testing locally, all should be fine.
  3. When deploying into production, it will fail. Log output below...

Current behavior
The deploy should be completed successfully. Instead, an Zeitwerk::NameError: expected file /opt/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/bundler/gems/solidus_shipstation-20783e6a9dfd/app/models/spree/shipment_decorator.rb to define constant Spree::ShipmentDecorator, but didn't error is thrown.

Expected behavior
The deploy should be completed successfully.

Desktop (please complete the following information):

  • OS: MacOS Catalina 10.15.6
  • Chrome
  • Version 84.0.4147.105

Additional context
Log output is available here: https://gist.github.com/paulsingh/1ea5c82c94d2f8e1e3b463f488b1e5a3

@paulsingh
Copy link
Author

Quick update: I can't seem to get this to happen on my local development environment. For whatever reason, it's only happening in production. Still poking around, will update as I learn more.

@mustiag
Copy link

mustiag commented Oct 9, 2020

@paulsingh Any luck finding a fix for this?

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

2 participants