resque-scheduler icon indicating copy to clipboard operation
resque-scheduler copied to clipboard

redis version issue with bundler update

Open sreid99 opened this issue 14 years ago • 5 comments

Sometimes getting this error when running bundle update after gemfile changes :

Bundler could not find compatible versions for gem "redis":
  In Gemfile:
    resque-scheduler (~> 2.0.0) x86-mingw32 depends on
      redis (< 3.0.0) x86-mingw32

    resque-scheduler (~> 2.0.0) x86-mingw32 depends on
      redis (3.0.1)

Strangely it doesn't happen every time, and `bundle update resque-scheduler`` always works.

Using gem 'resque-scheduler', "~= 2.0.0" in gemfile, rails 3.2.6, ruby 1.9.3 on Windows 7 x64. Redis gem version is 2.2.2.

sreid99 avatar Jun 25 '12 12:06 sreid99

+1 Thanks for the tip , @sreid99 to use bundle update resque-scheduler. That was the only way I could get the two gems updated.

evan2m avatar Jun 27 '12 19:06 evan2m

Same problem here, tried same workaround with no success, keeps getting redis compatible version error.

francesc avatar Jun 29 '12 16:06 francesc

Using gem 'resque-scheduler', ">= 2.0.0.h" on Gemfile seems to work for me.

francesc avatar Jul 02 '12 08:07 francesc

I upgraded resque-scheduler version from 1.9 to 2.0 and now my schedule and delayed tabs are throughs exception:

Errno::ENOENT at /resque/delayed No such file or directory - /home/raj/.rvm/gems/ruby-1.8.7-p370@f3/gems/resque-scheduler-1.9.9/lib/resque_scheduler/server/views/delayed.erb file: server.rb location: read line: 34

Its trying to access the earlier version, which is uninstalled. How can I update this?

RajRoR avatar Nov 21 '12 06:11 RajRoR

I'm pretty sure this is all better now, but I'll happily reopen if that's not the case :smiley_cat:

meatballhat avatar Nov 09 '13 13:11 meatballhat