-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
uninitialized constant DiscreteExecution #962
Comments
@adzap thanks for reporting this. I'm not sure why the constant lookup isn't working here, but I'll namespace it in
|
Excellent, thanks. I was going to say it might have something to do with zeitwerk but I see you removed it. I did have other const loading issues when I was first using the gem which I resolved myself with an explicit require. |
Has there been a regression? Here is the fix https://github.com/bensheldon/good_job/pull/963/files? But here is the latest code
|
Re-reading through this, I imagine something is wrong in your application because it shouldn't be necessary to do any explicit requires with Rails and Rails's Zeitwerk loader. Can you try running |
Thanks!
…On 17 Jun 2023 at 12:23 AM +1000, bensheldon ***@***.***>, wrote:
> I did have other const loading issues when I was first using the gem which I resolved myself with an explicit require.
Re-reading through this, I imagine something is wrong in your application because it shouldn't be necessary to do any explicit requires with Rails and Rails's Zeitwerk loader.
Can you try running bin/rails zeitwerk:check?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I don’t use the zeitwerk loader.
…On 17 Jun 2023 at 12:23 AM +1000, bensheldon ***@***.***>, wrote:
> I did have other const loading issues when I was first using the gem which I resolved myself with an explicit require.
Re-reading through this, I imagine something is wrong in your application because it shouldn't be necessary to do any explicit requires with Rails and Rails's Zeitwerk loader.
Can you try running bin/rails zeitwerk:check?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Originating from method
discrete_support?
(app/models/good_job/base_execution.rb:38)` in v3.15.9The text was updated successfully, but these errors were encountered: