GithubHelp home page GithubHelp logo

Comments (4)

PeterDaveHello avatar PeterDaveHello commented on July 26, 2024

Did you try to update your ruby on windows to latest?
This may help you I think:
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

from teachers_pet.

caratang avatar caratang commented on July 26, 2024

Thank you for responding. That looks like the same error I'm getting, but I already have the new certificate mentioned as the fix in the workaround. I just installed Ruby a week or so ago in order to use teachers_pet.

Any other ideas appreciated.

from teachers_pet.

micskeiz avatar micskeiz commented on July 26, 2024

I ran into the same problem, the following helped me.

The problem is that Ruby does not use the certificate store of the OS, and does not recognize the certificate authority (CA) who signed the SSL certificate of the api.github.com site (see explanation here: Why is Ruby unable to verify an SSL certificate?).

As of now (2015-08), api.github.com is signed by Digicert. Thus you have to specify that this is a trusted CA. This can be done in the SSL_CERT_FILE environment variable. All you need is the certificate of the CA in pem format. Luckily, version 2.1 of the Ruby install on Windows already contains this certificate. Thus in a command prompt execute:

set SSL_CERT_FILE=C:\Ruby21\lib\ruby\2.1.0\rubygems\ssl_certs\DigiCertHighAssuranceEVRootCA.pem

Now you can use teachers_pet in the same command prompt (the above does not persist the environment variable, it is only valid for this session).

from teachers_pet.

stephenlevitt avatar stephenlevitt commented on July 26, 2024

@micskeiz Thanks for your advice! It helped me get teachers_pet running on Windows.

from teachers_pet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.