我有从这个例子安装redis的openshift应用程序我有Sidekiq的 这些设置(initializers/sidekiq.rb):
Sidekiq.configure_server do |config|
config.redis = { path: "#{ENV['OPENSHIFT_GEAR_DIR']}tmp/redis.sock" }
end
Sidekiq.configure_client do |config|
config.redis = { path: "#{ENV['OPENSHIFT_GEAR_DIR']}tmp/redis.sock" }
end
但是我有这个错误如果我可以使用sidekiq:
Redis::CannotConnectError (Error connecting to Redis on localhost:6379 (ECONNREFUSED)):
有什么建议么?