Exception: Hibachi::InstallActiveJobError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hibachi/install_active_job_error.rb

Overview

Thrown when ‘Hibachi::Job` is called, but `ActiveJob::Base` was not defined. Prevents a possibly harder-to-diagnose error.

Instance Method Summary collapse

Constructor Details

#initializeInstallActiveJobError

Returns a new instance of InstallActiveJobError.



5
6
7
8
9
10
11
# File 'lib/hibachi/install_active_job_error.rb', line 5

def initialize
  @message = %{
    You must install ActiveJob to run Hibachi in the background..

    <https://github.com/rails/activejob>
  }
end