嘿,我正在配置我的capistrano-resque,並且我有一個遠程redis數據庫。capistrano-resque error with remote Redis DB
這是我的Capistrano的-resque配置的外觀在deploy.rb:
set :resque_environment_task, true
role :resque_worker, ENV['REDIS_SERVER']
role :resque_scheduler, ENV['REDIS_SERVER']
set :workers, { "*" => 1 }
當我嘗試運行帽生產的git:檢查,部署:檢查我收到以下錯誤:
INFO [1df5c9be] Running /usr/bin/env mkdir -p /tmp/mk/ as [email protected]
INFO [b91cbf1f] Running /usr/bin/env mkdir -p /tmp/mk/ as [email protected]//x
DEBUG [1df5c9be] Command: /usr/bin/env mkdir -p /tmp/mk/
DEBUG [b91cbf1f] Command: /usr/bin/env mkdir -p /tmp/mk/
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]//x: getaddrinfo: nodename nor servname provided, or not known
SocketError: getaddrinfo: nodename nor servname provided, or not known
似乎有什麼與redis @ // x?我有本地和生產存儲爲本地ENV完整的連接字符串:
redis://x:[password]@aws-eu-west.0.dblayer.com:10156
任何人有什麼地方不對勁的想法?