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

Error loading clockwork on Heroku/Rails v6 #59

Open
kapso opened this issue Sep 20, 2019 · 1 comment
Open

Error loading clockwork on Heroku/Rails v6 #59

kapso opened this issue Sep 20, 2019 · 1 comment

Comments

@kapso
Copy link

kapso commented Sep 20, 2019

Clockwork errors out when using Rails 6 default autoloader = : zeitwerk

Opened this on Zeitwerk as well - fxn/zeitwerk#83

@swiknaba
Copy link

swiknaba commented Nov 12, 2020

I believe, this issue can be closed. Following the linked issue of zeitwerk, the problem as due to inconsistent filename/module name which is an zeitwerk-inherent issue, not necessarily related to the clockwork gem.

Having the clock.rb config file under ROOT/config/clock.rb works with Rails 6 using zeitwerk and avoids issues with autoloading when using Rails' default settings for autoload paths.

Also, this is unrelated to Heroku if I understood the issue on zeitwerk.

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