First time here? Check out the Help page!

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

Unable to download data from https:/rubygems.org

asked 5 years ago

yingli.lou@colorado.edu's avatar

updated 5 years ago

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?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 5 years ago

updated 5 years ago

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

Preview: (hide)
link
0

answered 5 years ago

Preview: (hide)
link

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 5 years ago

Seen: 15,556 times

Last updated: Oct 21 '19