Shankar Kalbhor Shankar Kalbhor - 1 year ago 104
Ruby Question

Windows 10 64-bit: ERROR: Could not find a valid gem 'compass' (>= 0), here is why:

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



gem install compass

Received Following Error Message:

ERROR: Could not find a valid gem 'compass' (>= 0), here is why:
Unable to download data from - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:

certificate verify failed

Image with error message

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download