Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: SASS installation for windows

Tags:

sass

ruby

gem

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) 
like image 249
Manivannan Avatar asked Dec 03 '14 18:12

Manivannan


People also ask

How do I know if Sass is installed on Windows?

The “-v” command checks the version of SASS you have installed. If you don't have it installed, it will come back as not installed.

Why is node-Sass not working?

This problem happens because the version of node-sass that you have installed is no longer compatible with the version of node you are trying to run it with.

How do I install a Sass file?

Download the Current stable version of the zip file. Step 2 − Next, run the setup to install Ruby on the System. Step 3 − Next, add Ruby bin folder to your PATH User Variable and System Variable to work with gem command. Right Click the My Computer icon.


1 Answers

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

like image 132
Winfried Avatar answered Sep 17 '22 13:09

Winfried