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
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::Baseis defined and then mixSentry::Rails::ActiveJobExtensionstoActiveJob::BaseTo Reproduce
Comment
require 'active_job/railtie'inconfig/application.rbExpected behavior
No errors
Actual behavior
raising of
uninitialized constant ActiveJoberrorEnvironment