在我的 heroku 上出现错误
Redis::CannotConnectError (Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)):
2016-04-14T09:25:04.155091+00:00 app[web.1]: app/controllers/users /registrations_controller.rb:123:in `send_confirmation_email'
2016-04-14T09:25:04.155092+00:00 app[web.1]: app/controllers/users/registrations_controller.rb:49:in `daycare'
我还添加了插件 Redis to go
最佳答案
确保安装了 Redis。我知道你说过你在 Heroku 上安装了这个,但是例如,如果你在 Mac 上使用 Homebrew,你可以简单地运行 brew install redis
,你就可以开始了。 (无论如何,它为我修好了。)
关于ruby-on-rails - Redis::CannotConnectError(连接到本地主机上的 Redis 时出错:6379(Errno::ECONNREFUSED)):,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36618951/