![无法在 Windows 10 上使用 Ruby 2.6.3 安装 jekyll 3.8.6](https://linux22.com/image/1602154/%E6%97%A0%E6%B3%95%E5%9C%A8%20Windows%2010%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20Ruby%202.6.3%20%E5%AE%89%E8%A3%85%20jekyll%203.8.6.png)
安装 Jekyll 时出现此错误:
C:\WINDOWS\system32>c:\Ruby263-x64\bin\gem.cmd install jekyll --version 3.8.6
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /O=Humana Inc./CN=Humana Enterprise Root CA 3 to your local trusted store
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /O=Humana Inc./CN=Humana Enterprise Root CA 3 to your local trusted store
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /O=Humana Inc./CN=Humana Enterprise Root CA 3 to your local trusted store
ERROR: Could not find a valid gem 'jekyll' (= 3.8.6), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate) (https://rubygems.org/specs.4.8.gz)
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /O=Humana Inc./CN=Humana Enterprise Root CA 3 to your local trusted store
ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR: You must add /O=Humana Inc./CN=Humana Enterprise Root CA 3 to your local trusted store
答案1
我无法发表评论,但请尝试访问https://rubygems.org查看您的浏览器是否提示您安装/信任他们的 SSL 证书。