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,
>
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
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