分页: 1 / 1

gem source --remove ...已经删除了原始源,但是仍然提示同样错误

发表于 : 2020年 8月 27日 星期四 3:41 pm
kematy
已经删除了,我使用 gem source --remove ...已经删除了原始源,但是仍然提示同样错误。

Re: gem source --remove ...已经删除了原始源,但是仍然提示同样错误

发表于 : 2020年 8月 27日 星期四 5:31 pm
TMzethar
请问有尝试重启过该服务吗?

Re: gem source --remove ...已经删除了原始源,但是仍然提示同样错误

发表于 : 2020年 8月 28日 星期五 10:11 pm
kematy
这是编程语言,不是什么服务。
[admin@TNAS-qin bin]$ gem source -l
*** CURRENT SOURCES ***

[admin@TNAS-qin bin]$ gem source -a https://gems.ruby-china.com
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /O=Digital Signature Trust Co./CN=DST Root CA X3 to your local trusted store
Error fetching https://gems.ruby-china.com:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://gems.ruby-china.com/specs.4.8.gz)

Re: gem source --remove ...已经删除了原始源,但是仍然提示同样错误

发表于 : 2020年 8月 29日 星期六 10:43 am
TMzethar
请用root用户登录ssh
zs.png

Re: gem source --remove ...已经删除了原始源,但是仍然提示同样错误

发表于 : 2020年 8月 31日 星期一 8:11 am
kematy
我是本地远程登录的,外网远程登录不了(有公网ip,路由器也按说明设置了,至今只成功实现了一次远程登录,还是在本地网络用公网ip登的),确实有上述问题。