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?
We have a strong team working with new technologies in order to create
rich web applications using ROR development platform. Please contact @
info@andolasoft.com
$ 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)
$ 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.