[rumix]証明書エラーを解決する
[c:\rumix] $ gem update --system --verbose ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20) ERROR: You must add /OU=GlobalSign Root CA - R3/O=GlobalSign/CN=GlobalSign to your local trusted store ERROR: Could not find a valid gem 'ca-certificates' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (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 /OU=GlobalSign Root CA - R3/O=GlobalSign/CN=GlobalSign to your local trusted store [c:\rumix] $ |
なんか、Rumix が証明書エラーでアップデートできない…。
とりえず、GlobalSignRootCA.pem
をダウンロードして、
lib\ruby\site_ruby\2.2.0\rubygems\ssl_certs\rubygems.org に保存
[c:\rumix] $ gem update --system --verbose Getting SRV record failed: DNS result has no information for _rubygems._tcp.rubygems.org GET https://rubygems.org/specs.4.8.gz 304 Not Modified Updating rubygems-update HEAD https://rubygems.org/api/v1/dependencies 404 Not Found GET https://rubygems.org/prerelease_specs.4.8.gz 304 Not Modified GET https://rubygems.org/specs.4.8.gz 304 Not Modified GET https://rubygems.org/quick/Marshal.4.8/rubygems-update-3.4.14.gemspec.rz 200 OK Downloading gem rubygems-update-3.4.14.gem GET https://rubygems.org/gems/rubygems-update-3.4.14.gem Fetching: rubygems-update-3.4.14.gem (100%) 200 OK ERROR: Error installing rubygems-update: rubygems-update requires Ruby version >= 2.6.0. Installing RubyGems 2.6.8 RubyGems 2.6.8 installed Parsing documentation for rubygems-2.6.8 Installing ri documentation for rubygems-2.6.8 === 2.6.8 / 2016-10-29 Bug fixes: * Improve SSL verification failure message. Pull request #1751 by Eric Hodel. ------------------------------------------------------------------------------ RubyGems installed the following executables: |
アップデートできた・ω・
Comments