1

Unable to download data from https:/rubygems.org

when I stall Ruby DevKit by following https://github.com/oneclick/rubyinsta...

C:\DevKit>gem install json --platform=ruby

ERROR: Could not find a valid gem 'json' (>= 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://api.rubygems.org/specs.4.8.gz)

How do deal with this problem?

yingli.lou@colorado.edu's avatar
163
yingli.lou@colorado.edu
asked 2019-10-20 12:47:45 -0500
MatthewSteen's avatar
10.1k
MatthewSteen
updated 2019-10-21 10:30:08 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

Try running gem sources -r https://rubygems.org/ followed by gem sources -a http://rubygems.org/ and then it should work.

shorowit's avatar
11.8k
shorowit
answered 2019-10-21 10:52:56 -0500, updated 2019-10-21 10:53:06 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0
MatthewSteen's avatar
10.1k
MatthewSteen
answered 2019-10-21 10:29:15 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments