fix: Add lib/azure to autoload ignore list (#1368)

This commit is contained in:
Pranav Raj S 2020-10-27 18:48:23 +05:30 committed by GitHub
parent 46098f2970
commit d0f2ed38c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ module Chatwoot
config.autoload_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
config.paths.add File.join('app', 'bot'), glob: File.join('**', '*.rb')