master
1require_relative 'boot'
2
3require "rails"
4%w(
5 active_record/railtie
6 action_controller/railtie
7 action_view/railtie
8 action_mailer/railtie
9 active_job/railtie
10 action_cable/engine
11 active_storage/engine
12 sprockets/railtie
13).each do |railtie|
14 begin
15 require railtie
16 rescue LoadError
17 end
18end
19
20
21# Require the gems listed in Gemfile, including any gems
22# you've limited to :test, :development, or :production.
23Bundler.require(*Rails.groups)
24
25module Cake
26 class Application < Rails::Application
27 # Initialize configuration defaults for originally generated Rails version.
28 config.load_defaults 5.1
29
30 # Settings in config/environments/* take precedence over those specified here.
31 # Application configuration should go into files in config/initializers
32 # -- all .rb files in that directory are automatically loaded.
33 config.autoload_paths += %W(#{config.root}/app/services/application)
34 config.autoload_paths += %W(#{config.root}/app/services/infrastructure)
35 end
36end