reinteractive-open / installfest_guides

The installfest guides
24 stars 29 forks source link

Windows (RailsInstaller): How to solve “certificate verify failed” #101

Closed leesheppard closed 8 years ago

leesheppard commented 8 years ago

Download http://curl.haxx.se/ca/cacert.pem and save it into c:\railsinstaller\cacert.pem

Make sure you save it as a .pem file, rather than a text file.

  1. Go to your Computer > Advanced Settings > Environment Variables
  2. Create a new System Variable:

    Variable: SSL_CERT_FILE Value: C:\RailsInstaller\cacert.pem

  3. Close all your command prompts, including your Rails server command prompt, etc.
  4. Restart a new command prompt, gems should install or update without certificate failure.

Reference: https://github.com/rubygems/rubygems/issues/704

RachelleOnRails commented 8 years ago

New guide will include updated Windows instructions that do not use Rails Installer