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 trialT Emmerson
32 PointsWhy can't the command prompt connect to and access Ruby Gems (Bundler, SQLite, rails)? Error message suggests SSL issue
Hi
I am following the Install Ruby for Windows video. I have installed Ruby and the DevKit. When I try to download the following Gems from Ruby via the CMD Prompt (Bundler, SQLite, rails), I receive the following message:
"could not find a valid gem 'bundler' 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://rubygems.org/latest_specs.4.8.gz)"
Please can you advise why this is happening?
Thanks
2 Answers
Sadok Cervantes
6,204 PointsEncountered this error as well. It seems they just updated the SSL certificate on the RubyGEMS website.
Here's the fix: https://gist.github.com/luislavena/f064211759ee0f806c88
Unsubscribed User
21,424 PointsI haven't experienced this issue personally, but there are several posts on StackOverflow that seem to address it. Here is one: http://stackoverflow.com/questions/19150017/ssl-error-when-installing-rubygems-unable-to-pull-data-from-https-rubygems-o.
Also may be a similar question here on the Treehouse Forum: https://teamtreehouse.com/forum/had-an-ssl-error-found-fix-here.