fix: Add lib/azure to autoload ignore list (#1368)
This commit is contained in:
parent
46098f2970
commit
d0f2ed38c1
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ module Chatwoot
|
||||||
|
|
||||||
config.autoload_paths << Rails.root.join('lib')
|
config.autoload_paths << Rails.root.join('lib')
|
||||||
config.eager_load_paths << Rails.root.join('lib')
|
config.eager_load_paths << Rails.root.join('lib')
|
||||||
|
Rails.autoloaders.main.ignore(Rails.root.join('lib/azure'))
|
||||||
|
|
||||||
# This is required in production for zeitwerk to autoload the file
|
# This is required in production for zeitwerk to autoload the file
|
||||||
config.paths.add File.join('app', 'bot'), glob: File.join('**', '*.rb')
|
config.paths.add File.join('app', 'bot'), glob: File.join('**', '*.rb')
|
||||||
|
|
Loading…
Reference in a new issue