Skip to content

Commit

Permalink
Fix Zeitwerk load error with Sidekiq
Browse files Browse the repository at this point in the history
This was reported as a potential fixed based on:
  hotwired/turbo-rails#285 (comment)

The root cause isn't known at the time of making this commit but this
will at least let us run Active Jobs without errors for now.
  • Loading branch information
nickjj committed Jan 3, 2022
1 parent bfdbf3e commit ed7e99c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
- `tailwindcss-stimulus-components` front-end package
- `@rails/activestorage` front-end package (you can always add it back if you use this feature)

### Fixed

- Use `bundle exec sidekiq` instead of `sidekiq` which fixes issue https://github.com/nickjj/docker-rails-example/issues/30

## [0.4.0] - 2021-07-01

### Added
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ services:

worker:
<<: *default-app
command: "sidekiq -C config/sidekiq.yml"
command: "bundle exec sidekiq -C config/sidekiq.yml"
entrypoint: []
deploy:
resources:
Expand Down

0 comments on commit ed7e99c

Please sign in to comment.