clockwork
clockwork copied to clipboard
Error loading clockwork on Heroku/Rails v6
Clockwork errors out when using Rails 6 default autoloader = : zeitwerk
Opened this on Zeitwerk as well - https://github.com/fxn/zeitwerk/issues/83
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.