Note that there are some explanatory texts on larger screens.

plurals
  1. PODelayed Job failing in Production environment on Server
    text
    copied!<p>I am using delayed_job gem for sending emails in my rails app. delayed_job was working well but from last 5 days, it is not working and throwing following error in delayed_job.log file.</p> <pre> 2011-10-09T01:53:04+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#private_group_join_request failed with NoMethodError: undefined method private_group_join_request' for # - 11 failed attempts 2011-10-09T01:53:04+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 1.4503 j/s, 1 failed ... 2011-10-09T01:54:40+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method contact_us_email for # - 11 failed attempts 2011-10-09T01:54:40+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 4.3384 j/s, 1 failed ... </pre> <p>Following is one of the example how I am calling delayed job for sending email.</p> <pre><code>UserMailer.delay(:run_at =&gt; 10.seconds.from_now).contact_us_email(self) </code></pre> <p>I am starting delayed job with</p> <pre><code>RAILS_ENV=production script/delayed_job start </code></pre> <p>It is working correctly in development as well as production environment on my local machine.</p> <p>Environment Which I am using in Rails App.</p> <ul> <li>Rails 3.0.8 </li> <li>Ruby 1.9.2 in Linux(Ubuntu) </li> <li>rake 0.9.2</li> <li>delayed_job 2.1.4 </li> </ul> <p>This is same as <a href="https://stackoverflow.com/questions/6766431/undefined-method-error-when-creating-delayed-job-workers-with-script-delay-job">Undefined Method Error when creating delayed_job workers with script/delay_job</a></p> <p>But solution is not working for me.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload