Exception: Q::Methods::DelayedJob::NotSetupError
- Inherits:
-
StandardError
- Object
- StandardError
- StandardError
- Q::Methods::DelayedJob::NotSetupError
- Defined in:
- lib/q/methods/delayed_job.rb
Instance Method Summary collapse
-
#initialize ⇒ NotSetupError
constructor
A new instance of NotSetupError.
Constructor Details
#initialize ⇒ NotSetupError
4 5 6 7 8 9 |
# File 'lib/q/methods/delayed_job.rb', line 4 def initialize msg = "Delayed job not setup, please run:\n" msg << " $ bundle exec rails generate delayed_job:active_record\n" msg << " $ bundle exec rake db:migrate\n" super msg end |