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

欢迎第三方开发者加入与合作。讨论内容:app、插件、API、协议、规范。

版主: TerraSupportTMsupportTMjack

主题已锁定
头像
kematy
帖子: 18
注册时间: 2020年 8月 21日 星期五 3:02 pm

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

帖子 kematy »

已经删除了,我使用 gem source --remove ...已经删除了原始源,但是仍然提示同样错误。
头像
TMzethar
技术支持
帖子: 2414
注册时间: 2020年 4月 27日 星期一 12:05 pm

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

帖子 TMzethar »

请问有尝试重启过该服务吗?
头像
kematy
帖子: 18
注册时间: 2020年 8月 21日 星期五 3:02 pm

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

帖子 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)
头像
TMzethar
技术支持
帖子: 2414
注册时间: 2020年 4月 27日 星期一 12:05 pm

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

帖子 TMzethar »

请用root用户登录ssh
zs.png
头像
kematy
帖子: 18
注册时间: 2020年 8月 21日 星期五 3:02 pm

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

帖子 kematy »

我是本地远程登录的,外网远程登录不了(有公网ip,路由器也按说明设置了,至今只成功实现了一次远程登录,还是在本地网络用公网ip登的),确实有上述问题。
主题已锁定

回到 “开发者讨论区”