Skip to content

uninitialized constant ActiveJob #1210

@vladimirtemnikov

Description

@vladimirtemnikov

Describe the bug
Currently in my Rails application I don't require ActiveJob framework and on app initialization I get the error uninitialized constant ActiveJob.
I suppose the railtie should check if ActiveJob::Base is defined and then mix Sentry::Rails::ActiveJobExtensions to ActiveJob::Base

To Reproduce
Comment require 'active_job/railtie' in config/application.rb

Expected behavior
No errors

Actual behavior
raising of uninitialized constant ActiveJob error

Environment

  • Ruby Version: 2.7.2
  • SDK Version: 4.1.4
  • Integration Versions:
  • Rails 6.1.1

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions