Friday 21 March 2014

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

I received this error message while trying to install Sass on Windows 7 laptop. 

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

The issue is actually with  the Ruby Installer .  I found this out by searching 'ruby 2.0 gem install sass by http'  .  Check  http://stackoverflow.com/questions/21681817/cant-install-gems-on-windows-7-64

The solution then was to install Ruby Installer and roll back to an earlier version ( 1.9)

how to uninstall ruby installer ?  - I used 'Programs - Uninstall a program' found in Windows 'Control Panel' .

And then installed version Ruby 1.9.3.p545 instead from http://rubyinstaller.org/downloads/

Now after RESTARTING drush .  I can now run the command line gem install sass without issue.

1 comment:

NL said...

Wow this totally helped me :) THANKS!!