Delayed job in Rails 4

237 views
Skip to first unread message

Karthikeyan A k

unread,
Jul 8, 2013, 7:15:15 AM7/8/13
to rubyonra...@googlegroups.com
Hello People,

One of my application being developed in Rails 4 needs delayed job, but
for some reason when I add this gem
https://github.com/collectiveidea/delayed_job to my gemfile and run
bundle, it says dependencies are not satisfied.

Seeing their forums, it looks as though they have fixed it for Rails 4.
Does any one know how to get it work on Rails 4?

--
Posted via http://www.ruby-forum.com/.

Dheeraj Kumar

unread,
Jul 8, 2013, 7:20:15 AM7/8/13
to rubyonra...@googlegroups.com
post bundler output.

-- 
Dheeraj Kumar

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

Andola Soft

unread,
Jul 8, 2013, 7:29:55 AM7/8/13
to rubyonra...@googlegroups.com
Hi,

We have a strong team working with new technologies in order to create
rich web applications using ROR development platform. Please contact @
in...@andolasoft.com

Thanks
Andolasoft.com
408) 625-7188

Karthikeyan A K

unread,
Jul 8, 2013, 12:15:44 PM7/8/13
to rubyonra...@googlegroups.com
I gem file I added this:

gem 'delayed_job_active_record'

Then when I bundled, this happened:

$ bundle
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
delayed_job_active_record (>= 0) ruby depends on
activesupport (~> 3.0) ruby

sass-rails (~> 4.0.0) ruby depends on
activesupport (4.0.0)

Tamara Temple

unread,
Jul 8, 2013, 1:10:30 PM7/8/13
to rubyonra...@googlegroups.com

On Jul 8, 2013, at 4:15 AM, Karthikeyan A k <li...@ruby-forum.com> wrote:

> Hello People,
>
> One of my application being developed in Rails 4 needs delayed job, but
> for some reason when I add this gem
> https://github.com/collectiveidea/delayed_job to my gemfile and run
> bundle, it says dependencies are not satisfied.
>
> Seeing their forums, it looks as though they have fixed it for Rails 4.
> Does any one know how to get it work on Rails 4?

You may need to run bundle update, or do things like blow away your Gemfile.lock, or if using rvm, delete your projects's gemset and rerun bundle.

Rob Biedenharn

unread,
Jul 8, 2013, 4:22:18 PM7/8/13
to rubyonra...@googlegroups.com

On 2013-Jul-8, at 12:15 , Karthikeyan A K wrote:

> I gem file I added this:
>
> gem 'delayed_job_active_record'
>
> Then when I bundled, this happened:
>
> $ bundle
> Fetching gem metadata from https://rubygems.org/..........
> Fetching gem metadata from https://rubygems.org/..
> Resolving dependencies...
> Bundler could not find compatible versions for gem "activesupport":
> In Gemfile:
> delayed_job_active_record (>= 0) ruby depends on
> activesupport (~> 3.0) ruby

You are aware that ~>3.0 is like ">=3.0 AND <4"

>
> sass-rails (~> 4.0.0) ruby depends on
> activesupport (4.0.0)

Similarly, ~>4.0.0 means ">=4.0.0 AND <4.1"

Your delayed_job_active_record gem doesn't yet say that it works with 4.x. It might, but the author was (correctly!) conservative and needs to update the gem's dependencies.

-Rob

>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/04f82b0c5273262e568ed164b99313fc%40ruby-forum.com.

Fernando Irias

unread,
Jul 19, 2013, 5:05:20 PM7/19/13
to rubyonra...@googlegroups.com
Looks like still no update for delayed_job_active_record.

Does anyone have news on this?

Fernando Irias

unread,
Jul 19, 2013, 5:19:46 PM7/19/13
to rubyonra...@googlegroups.com
Got this working by using the Git version of both, delayed_job and
delayed_job_active_record.

In your Gemfile:
gem 'delayed_job',
git: 'git://github.com/collectiveidea/delayed_job.git'
gem 'delayed_job_active_record',
git: 'git://github.com/collectiveidea/delayed_job_active_record.git'
Reply all
Reply to author
Forward
0 new messages