Redis on a unix socket does not work any longer after upgrade to 6.0
Created by: drf
I have the following in my resque.yml:
development: unix:/var/run/redis/redis.sock
test: unix:/var/run/redis/redis.sock
production: unix:/var/run/redis/redis.sock
Since upgrading to 6.0, I get the following error when entering any project:
Started GET "/sysadmin/gitlab" for 127.0.0.1 at 2013-08-24 16:04:00 +0200
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"sysadmin/gitlab"}
Rendered shared/_clone_panel.html.haml (2.0ms)
Rendered projects/_clone_panel.html.haml (163.1ms)
Rendered events/_event_last_push.html.haml (5.6ms)
Rendered projects/show.html.haml within layouts/projects (312.7ms)
Completed 500 Internal Server Error in 884ms
ActionView::Template::Error (Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)):
16: %p
17: %p
18: %span.light Repo size is
19: #{@project.repository.size} MB
20: %p
21: %span.light Created at
22: #{@project.created_at.stamp('Aug 22, 2013')}
app/models/repository.rb:119:in `size'
app/views/projects/show.html.haml:19:in `_app_views_projects_show_html_haml___2710945081947361161_27144680'
app/controllers/projects_controller.rb:70:in `block (2 levels) in show'
app/controllers/projects_controller.rb:64:in `show'
Also, the home page does not report any events.