Re: Delayed Job not loading gem

2010-09-10 Thread daniel hoey
The fix is adding "requirie 'hpricot'" to config/initializers/ delayed_job.rb On Aug 19, 6:59 pm, Abel Tamayo wrote: > The environment should be the same. Have you tried to require Hpricot > manually from the job that uses it? > > > > On Thu, Aug 19, 2010 at 2:29 AM, daniel hoey wrote: > > Hi, >

Re: Delayed Job not loading gem

2010-08-19 Thread Abel Tamayo
The environment should be the same. Have you tried to require Hpricot manually from the job that uses it? On Thu, Aug 19, 2010 at 2:29 AM, daniel hoey wrote: > Hi, > > We use the Hpricot gem on our Heroku app. It is specified in the .gems > file and "config.gem :hpricot" is in the config/environ

Delayed Job not loading gem

2010-08-18 Thread daniel hoey
Hi, We use the Hpricot gem on our Heroku app. It is specified in the .gems file and "config.gem :hpricot" is in the config/environment.rb file. Sometimes our delayed jobs throw a NoMethodError when attempting to use the 'Hpricot()' method. The exact same code with the same data works in the Heroku