# For 'Socket.gethostname' only. require 'socket' require 'shellwords' # Core library that sends notices. # See: https://github.com/airbrake/airbrake-ruby require 'airbrake-ruby' require 'airbrake/version' # Automatically load needed files for the environment the library is running in. if defined?(Rack) require 'airbrake/rack/user' require 'airbrake/rack/notice_builder' require 'airbrake/rack/middleware' require 'airbrake/rails/railtie' if defined?(Rails) end require 'airbrake/rake/task_ext' if defined?(Rake::Task) require 'airbrake/resque/failure' if defined?(Resque) require 'airbrake/sidekiq/error_handler' if defined?(Sidekiq) require 'airbrake/delayed_job/plugin' if defined?(Delayed)