You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@phstc You can clone this repo do try bundle exec shoryuken -q default -R. It is a hyrax generated app for testing purpose. The project I work on is private but I get the same error.
The way shoryuken uses eager_load for Rails 4+ is causing ActiveSupport::Concern::MultipleIncludedBlocks error in my development environment. I didn't have this error when I used sidekiq.
My app uses Rails 5. It seems like eager_loading is causing these errors, when I comment out https://github.com/phstc/shoryuken/blob/master/lib/shoryuken/environment_loader.rb#L70, everything works fine. The code should be refactored to eager_load only for rails version 4.0. This is how sidekiq does it now: https://github.com/mperham/sidekiq/blob/master/lib/sidekiq/cli.rb#L262-L271.
This PR fro sidekiq might be relevant to this issue.
Here is the stacktrace:
The text was updated successfully, but these errors were encountered: