clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

Error loading clockwork on Heroku/Rails v6

Open kapso opened this issue 6 years ago • 1 comments

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

Opened this on Zeitwerk as well - https://github.com/fxn/zeitwerk/issues/83

kapso avatar Sep 20 '19 01:09 kapso

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.

swiknaba avatar Nov 12 '20 21:11 swiknaba