Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS to Sass Installing Sass and Setting up the Project Installing and Updating Sass

Colin Birdwell
Colin Birdwell
9,733 Points

I can't install Sass or any other installation via gem on Windows 10

I'm on Windows 10 x64 and no matter what I try I cant' get anything other than : 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 (https://api.rubygems.org/specs.4.8.gz)

In both Git Bash or CMD. I've downloaded the newest version of Ruby 64 bit version (uninstalled and tried both).

Any thoughts?

2 Answers

Looks like the RubyGems.org site got a new certificate provider and flubbed aligning it with the latest tool release.

The instructions to manually install the new certificate are here: https://gist.github.com/luislavena/f064211759ee0f806c88

Also, while this problem was caused by the rubygems website itself, I've had a lot fewer issues with choco installs of ruby in a Windows environment than through the installer. Pretty fun tool if you have some time to check it out. Works similarly to HomeBrew on mac or the apt-get command on Linux.

https://chocolatey.org/

Colin Birdwell
Colin Birdwell
9,733 Points

I actually ended up fixing this from this set of docs: http://guides.rubygems.org/ssl-certificate-update/ before seeing your reply. Looks like your solution is the same issue with earlier versions. Thanks for the speedy reply, I really appreciate it.