我正在尝试使用 Redis 设置 Resque 并遵循文档:
https://github.com/defunkt/resque#section_Installing_Redis
但是当我执行 'rake redis:install dtach:install' 我得到:
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>'
我还用 sudo 尝试了一切。我不知道如何解决这个问题。我怀疑我的红宝石设置可能有问题?
当我输入“sudo bundle install”时,我得到以下信息:
/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>'
似乎我的 ruby 1.9.3-p194 中有一个单独的 ruby 和 gemlist?