Skip to content

Commit

Permalink
Merge pull request #642 from cjlarose/fix-uninitialized-constant-erro…
Browse files Browse the repository at this point in the history
…rs-concurrent-send-adapter

Load ShoryukenConcurrentSendAdapter when loading Rails
  • Loading branch information
cjlarose committed Dec 28, 2020
2 parents 4a03b64 + 6851869 commit c60598a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/shoryuken/environment_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ def load_rails
::Rails.application.config.eager_load = true
end
end
require 'shoryuken/extensions/active_job_adapter' if Shoryuken.active_job?
if Shoryuken.active_job?
require 'shoryuken/extensions/active_job_adapter'
require 'shoryuken/extensions/active_job_concurrent_send_adapter'
end
require File.expand_path('config/environment.rb')
end
end
Expand Down

0 comments on commit c60598a

Please sign in to comment.