1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/myapp/config/application.rb

34 lines
995 B
Ruby
Raw Normal View History

require_relative "boot"
require "rails"
2022-10-10 12:08:30 -04:00
%w[
active_record/railtie
action_controller/railtie
action_view/railtie
action_mailer/railtie
active_job/railtie
2022-10-10 12:08:30 -04:00
].each do |railtie|
require railtie
end
2015-09-30 19:16:06 -04:00
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Myapp
class Application < Rails::Application
2019-08-02 14:31:50 -04:00
# Load the defaults for whichever Rails version we are using, we need to
# ensure we work with all defaults.
config.load_defaults "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}"
2022-09-08 18:45:24 -04:00
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
# in config/environments, which are processed later.
#
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
2016-02-08 16:43:29 -05:00
config.active_job.queue_adapter = :sidekiq
end
end