Skip to content

config/environment.rb not requiring initializers nor files in load paths #695

Description

@beauby

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions