application.rb 851 B

12345678910111213141516171819202122232425262728
  1. require_relative 'boot'
  2. require "rails"
  3. # Pick the frameworks you want:
  4. require "active_model/railtie"
  5. require "active_job/railtie"
  6. require "active_record/railtie"
  7. require "action_controller/railtie"
  8. require "action_mailer/railtie"
  9. require "action_view/railtie"
  10. # require "action_cable/engine"
  11. require "sprockets/railtie"
  12. require "rails/test_unit/railtie"
  13. # Require the gems listed in Gemfile, including any gems
  14. # you've limited to :test, :development, or :production.
  15. Bundler.require(*Rails.groups)
  16. module MastodonBridge
  17. class Application < Rails::Application
  18. # Settings in config/environments/* take precedence over those specified here.
  19. # Application configuration should go into files in config/initializers
  20. # -- all .rb files in that directory are automatically loaded.
  21. config.active_job.queue_adapter = :sidekiq
  22. end
  23. end