Sha256: 01f51583f8e2abca4fe7eee0a657ad65751de88f0487bf2b5e950d422806d8fc

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

module Hibachi
  # Thrown when `Hibachi::Job` is called, but `ActiveJob::Base` was not
  # defined. Prevents a possibly harder-to-diagnose error.
  class InstallActiveJobError < StandardError
    def initialize
      @message = %{
        You must install ActiveJob to run Hibachi in the background..

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hibachi-0.0.1 lib/hibachi/install_active_job_error.rb
hibachi-0.0.1.pre lib/hibachi/install_active_job_error.rb