2b9144d50c
Zeitwerk operates on files in the autoload paths. Since the entire "app" directory is autoloaded, all files inside need to play by Zeitwerk's rules. Zeitwerk expects that a file named "exceptions.rb" would define a constant named "Exceptions". The exceptions file doesn't follow Zeitwerk's conventions. The easiest way to solve this is to move the execptions out of app/lib and into lib, where `require_relative` doesn't have Zeitwerk taken into account. |
||
---|---|---|
.. | ||
assets | ||
devise | ||
gabsocial | ||
generators | ||
json_ld | ||
paperclip | ||
tasks | ||
templates | ||
cli.rb | ||
exceptions.rb |