Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
373 views
in Technique[技术] by (71.8m points)

ruby - Error: SASS installation for windows

am trying to install sass after installing ruby, but iam getting following error, please help me to fix this

    maradhak@WW730VW7X1688 /c/softwares
    $ gem -v
    2.2.2

    maradhak@WW730VW7X1688 /c/softwares
    $ gem install sass
    ERROR:  Could not find a valid gem 'sass' (>= 0), here is why:
              Unable to download data from https://rubygems.org/ - SSL_connect retur
    ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
    https://rubygems.org/latest_specs.4.8.gz)
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The error has something to do with being vulnerable to the Poodle SSL bug, it will not be verified for that reason. If there's a way to upgrade to a better certificate, but at the time of writing this answer, I could not find the upgraded certificate.

I used the non-SSL host instead, altough I should note that this is not the best nor a permanent solution, it lacks security.

The command used:

gem source -a http://rubygems.org/

A discussion about this subject can be found here: https://github.com/rubygems/rubygems/issues/515#issuecomment-65326585

Update: There seems to be a permanent solution now, which replaces the certificate with a proper protected one. It can be found on the following URL, an tutorial is included in that page. https://gist.github.com/luislavena/f064211759ee0f806c88#installing-using-update-packages-new


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...