[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.
* Ensure `to_spec` falls back on prerelease specs. Pull request #1755 by Andre Arko.
* Update vendored Molinillo to 0.5.3. Pull request #1763 by Samuel Giddins.

------------------------------------------------------------------------------

RubyGems installed the following executables:
                 C:/rumix/ruby/2.2/i386-mingw32/bin/gem
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
   ri Classname
   ri Classname.class_method
   ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details. RubyGems system software updated
[c:\rumix]

アップデートできた・ω・

おすすめ

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です