【发布时间】:2017-03-10 04:29:48
【问题描述】:
我正在尝试在 Windows 10 中安装 ruby。为了安装 compass 和 SASS,但我无法安装它,我尝试了所有我知道的东西,并根据各种网站的各种问题回答,包括堆栈溢出。
set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem
或
set SSL_CERT_FILE= curl.haxx.se/ca/cacert.pem
gem install compass
收到以下错误消息:
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:证书验证失败
【问题讨论】:
标签: ruby windows rubygems ssl-certificate compass-sass