While setting up hanami + sidekiq, I came across two hurdles:
- requiring
config/environment.rb does not load initializers (which may or may not be the right thing to do, but since sidekiq does not boot the app, but simply requires that file, it forces one to require the sidekiq config directly from config/environment)
- requiring
config/environment.rb does not load files in the load paths declared within apps.
@jodosha Any thoughts on this?
While setting up hanami + sidekiq, I came across two hurdles:
config/environment.rbdoes not load initializers (which may or may not be the right thing to do, but since sidekiq does not boot the app, but simply requires that file, it forces one to require the sidekiq config directly fromconfig/environment)config/environment.rbdoes not load files in the load paths declared within apps.@jodosha Any thoughts on this?