Troubles installing/starting Redis via Resque
        Posted  
        
            by 
                Craig Flannagan
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Craig Flannagan
        
        
        
        Published on 2011-03-06T21:38:20Z
        Indexed on 
            2011/03/07
            0:11 UTC
        
        
        Read the original article
        Hit count: 786
        
Trying to complete instructions for Resque/Redis installation here:
https://github.com/defunkt/resque/blob/master/README.markdown
Am stuck at where I'm trying to start up Redis via Resque at the following command:
Craig:/usr/local/src/resque$ rake redis:start
(in /usr/local/src/resque)
Detach with Ctrl+\  Re-attach with rake redis:attach
../../bin/dtach -A /tmp/redis.dtach ../../bin/redis-server ../../../etc/redis.conf
rake aborted!
Command failed with status (127): [../../bin/dtach -A /tmp/redis.dtach ../../...]
(See full trace by running task with --trace)
Rerunning with --trace (showing only part of trace):
Craig:/usr/local/src/resque$ rake redis:start --trace
(in /usr/local/src/resque)
** Invoke redis:start (first_time)
** Execute redis:start
Detach with Ctrl+\  Re-attach with rake redis:attach
../../bin/dtach -A /tmp/redis.dtach ../../bin/redis-server ../../../etc/redis.conf
rake aborted!
Command failed with status (127): [../../bin/dtach -A /tmp/redis.dtach ../../...]
/Users/craigflannagan/.rvm/gems/ruby-1.9.2-head@foo/gems/rake-0.8.7/lib/rake.rb:995:in `block in sh'
Not sure what is wrong here - by the way, when I did those instructions
$ git clone git://github.com/defunkt/resque.git
$ cd resque
$ PREFIX=<your_prefix> rake redis:install dtach:install
$ rake redis:start
I wasn't sure whether or not I was supposed to be doing #1 from within the Rails project, or if I was supposed to have the git clone create a new folder outside the Rails project (in this case, I chose to have folder created outside the project).
© Server Fault or respective owner