Thursday, 15 August 2013

ruby - Redis won't install with Resque Task -



ruby - Redis won't install with Resque Task -

i'm trying set resque redis , followed documentation:

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

but when execute 'rake redis:install dtach:install' get:

rake aborted! don't know how 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 tried sudo. don't know how resolve this. suspect there might wrong ruby setup?

when type 'sudo bundle install' following:

/home/max/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': 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) /home/max/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' /home/max/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem' /home/max/.rvm/gems/ruby-1.9.3-p194/bin/bundle:18:in `<main>' /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>'

seems there seperate ruby , gemlist within ruby 1.9.3-p194?

you should not utilize sudo rvm, seek plain bundle install, sudo looses environment variables used configure rvm / ruby / rubygems.

also create sure steps successful, git clone command

ruby redis rvm resque

No comments:

Post a Comment