Mohit Jain
Mohit Jain

Reputation: 43949

Could not find gem 'resque (>= 2.0) ruby' in the gems available on this machine

I am using ruby 2 installed latest version for rubygems + installed latest version for rails ie 3.2.13.

I was using delayed_job in my previous project. Now I was thinking to redis + resque. But When I am trying to install resque 2, that I got from their read me file on Github. I am getting an error ie:

    Could not find gem 'resque (>= 2.0) ruby' in the gems available on this machine.

From Readme file. To install resque 2. Add this in your gem file and run the bundler.

  gem "resque", "~> 2.0"

As per rubygems.org latest version is 1.24.1.

Any suggestions??

Upvotes: 1

Views: 2009

Answers (1)

Flambino
Flambino

Reputation: 18773

As far as I can tell, the gemfile line in the readme was added in this commit (which is a first draft of the 2.0 readme) but version 2.0 is still unreleased. The latest stable release is indeed 1.24.1.

As the readme states, you should look in the 1-x-stable branch to find released versions, as the master branch contains work in progress toward version 2. Hence the readme being a little ahead of the code.

You could also try going for the very latest code by using

gem 'resque', :git => 'git://github.com/resque/resque.git'

This will (currently) install version 2.0.0.pre.1, which - it should go without saying - is not a final/stable release. Use with caution.

Upvotes: 2

Related Questions