# in the first shell
bundle exec rails s -p 3100 # start the rails server
# in the second shell
bin/delayed_job start # start a worker process
bundle exec rake cangaroo:poll # add a poll job to the queue
tail -f log/delayed_job.log # watch what the worker does
Once the MyPollShipmentJob runs, you will see the following error in the
worker log file:
Job ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper (id=5) (queue=cangaroo)
FAILED (1 prior attempts) with ArgumentError: A copy of Cangaroo::BaseJob has
been removed from the module tree but is still active!
This prevents:
This issue prevents PollJobs from:
To Reproduce
Open 2 separate shells:
Once the
MyPollShipmentJob
runs, you will see the following error in the worker log file: