: url: redis://localhost:6379/1
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0Redis on localhost:6379 (Redis::CannotConnectError)
from C:/RailsInstaller/R
我需要解救一个从Redis库中提出来的Timeout::Error,但是我遇到了一个问题,解救那个特定的类似乎不起作用。beginrescue Timeout::Error => ex
=> Timeout::Error: Timeout::Error from /Users/me/.rvm/gems/ree-1.8.7-2011.03@gowalla/gems/
Connection timed out
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/redis-3.0.2/lib/redis/client.rb:204:ingems/ruby-1.9.3-p194/gems/redis-3.0.2/lib/redis/client.rb:84:in `b
to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)
# /home/matthieu/.rvm/gems/ruby-2.4.3/gems/redisgems/ruby-2.4.3/gems/redis-4.0.1/lib/redis/client.rb:99:in `block in connect