Giter Club home page Giter Club logo

Comments (2)

bradrobertson avatar bradrobertson commented on May 23, 2024

Ya Delayed::Job is becoming increasingly painful to support and we will eventually strip it out into its own [decprecated] gem.

The basic problem is that DJ Monkey Patches the hell out of YAML serialization, which forces us to MonkeyPatch their monkey path to get anything to work. And as they rev versions things break...

So, if you want to use DJ, here's what we have in our Gemfile for working DJ versions:

gem 'delayed_job', '= 3.0.1' # change at own risk!
gem 'delayed_job_active_record', '= 0.3.2' # change at own risk!

But I would suggest, for many reasons, that you look into something a bit more robust like Resque or Sidekiq as they don't have these issues, you should be able to write your own hooks to switch dbs on jobs and you won't have to worry about monkeypatching and version upgardes.

I'll update the docs

from apartment.

pilap82 avatar pilap82 commented on May 23, 2024

thanks. with delayed_job 3.0.5and delayed_job_active_record (0.4.3) things are working.

I also found out that Ruby 1.9.2 caused some issues on Heroku.
Upgrading to 1.9.3 fixed the issues.

from apartment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.