咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

【Redis错误】ERROR: Could not find a valid gem 'redis-3.0.0' (>= 0) in any repository

2019-07-24 20:01:52 26388次

在安装redis-3.0.0.gem时,报错,经过排查

gem install redis-3.0.0 


解决

1.由于gem没有包含自身携带的源,所以需要下载gem源,http://www.landui.com是gem本身带的源,如果需要国内源,可以卸载自身携带的,安装国内源。

https://www.landui.com

2.查看是否存在http://www.landui.com

gem source

3.安装http://www.landui.com

gem sources -a https://www.landui.com


4.重新安装redis-3.0.0.gem

gem install redis


5.安装完成。

首页
最新活动
个人中心