Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
1

Unable to download data from https:/rubygems.org

asked 2019-10-20 12:47:45 -0600

yingli.lou@colorado.edu gravatar image

updated 2019-10-21 10:30:08 -0600

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?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2019-10-21 10:52:56 -0600

updated 2019-10-21 10:53:06 -0600

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

edit flag offensive delete link more
0

answered 2019-10-21 10:29:15 -0600

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2019-10-20 12:47:45 -0600

Seen: 6,274 times

Last updated: Oct 21 '19