chore: Upgrade rails and ruby versions (#2400)

ruby version: 3.0.2
rails version: 6.1.4
This commit is contained in:
Sojan Jose
2021-08-03 20:11:52 +05:30
committed by GitHub
parent 7e960b7c72
commit ab54d9c629
61 changed files with 498 additions and 626 deletions

View File

@@ -15,11 +15,6 @@ 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')
config.autoload_paths << Rails.root.join('app/bot/*')
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers