Search code examples
rubyredisrvmresque

Redis won't install with Resque Task


I'm trying to set up Resque with Redis and followed the documentation:

https://github.com/defunkt/resque#section_Installing_Redis

But when I execute 'rake redis:install dtach:install' I get:

rake aborted!
Don't know how to build task 'redis:install'
/home/max/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
/home/max/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'

I also tried everything with sudo. I don't know how to resolve this. I suspect there might be something wrong with my ruby setup?

When I type 'sudo bundle install' I get the following:

/home/max/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError)
from /home/max/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/max/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /home/max/.rvm/gems/ruby-1.9.3-p194/bin/bundle:18:in `<main>'
from /home/max/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
from /home/max/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'

Seems like there is a seperate ruby and gemlist inside my ruby 1.9.3-p194?


Solution

  • It seems like the Redis install task was removed:

    https://github.com/defunkt/resque/commit/d17bda1b59857bbcec92bf617ff2d6ac74c78834

    That's why the task redis:install obviously won't work.

    They should update the documentation.