FIX: Sidekiq wouldn't start up in development mode
This commit is contained in:
parent
f99c00a0ef
commit
954d753d5d
|
@ -63,7 +63,7 @@ module Discourse
|
|||
config.autoload_paths += Dir["#{config.root}/lib/validators/"]
|
||||
config.autoload_paths += Dir["#{config.root}/app"]
|
||||
|
||||
if Rails.env.development?
|
||||
if Rails.env.development? && !Sidekiq.server?
|
||||
config.autoload_paths += Dir["#{config.root}/lib"]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue