1

I'm trying to install ruby in windows 10. For install compass & SASS but I'm unable to install this I tried all the things I know it & as per various question answer from various website including stack overflow.

set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem

or

set SSL_CERT_FILE= curl.haxx.se/ca/cacert.pem

gem install compass

Received Following Error Message:

ERROR:  Could not find a valid gem 'compass' (>= 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

Image with error message

1 Answers1

1

Place this file cacert.pem somewhere in your Ruby folder

and then create environmental variable and give the path of this file such as

enter image description here

Then it will work.

Gopal
  • 306
  • 2
  • 15