require_relative 'boot' require "rails" %w( active_record/railtie action_controller/railtie action_view/railtie action_mailer/railtie active_job/railtie action_cable/engine active_storage/engine sprockets/railtie ).each do |railtie| begin require railtie rescue LoadError end end # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Cake class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 5.1 # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. config.autoload_paths += %W(#{config.root}/app/services/application) config.autoload_paths += %W(#{config.root}/app/services/infrastructure) end end