Skip to content

Solving RubyGems Error

Robert Uhl edited this page Dec 4, 2016 · 3 revisions

Assuming you've seen the following error message

--- Lich: error: Could not find a valid gem 'rest-firebase' (~> 1.1.0) locally or in a repository Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

This guide should walk you through resolving this issue.

  • Open up a cmd prompt (win+r cmd enter)
  • Use the cd command to navigate to c:\ruby200\bin
  • Run gem which rubygems to see which directory rubygems is installed in.

example picture

  • Navigate to the directory listed above, and then into the rubygems -> ssl_certs folder.

cert folder

  • Save this certificate GlobalSignRootCA.pem (right click->save as) to the ssl_certs folder you located above. Make sure it's saved as a .pem file, not a .txt file.

  • Start up Lich again.

Clone this wiki locally