Instantly share code, notes, and snippets.

Embed
What would you like to do?
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2016-12-01: Please refer to the official guide instead of this process.

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to pull updates from RubyGems:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

This error is produced by changes in rubygems.org infrastructure, please keep reading to better understand it.

If you're one of those too long, didn't read just skip to the guide on how to workaround it.

Background

For those who are not familiar with SSL and certificates, there are many parts that make secure serving of content possible.

SSL certificates are used on the website, which are obtained from a certificate authority (CA) and generated from a private key, along with its respective signature.

Normally and up until a few months ago, private key signatures used SHA-1 as way to provide a digest (or checksum) of the private key without distributing the key itself (remember, needs to remain private).

SHA-1 has been encountered weak and lot of web servers and sites have been upgrading towards SHA-2 (specifically SHA256 or higher) in order to prepare for the browsers changes.

Specific problem with RubyGems

The particular case of RubyGems (the command line tool) is that it requires to bundle inside of its code the trust certificates, which allow RubyGems to establish a connection with the servers even when base operating system is unable to verify the identity of them.

Up until a few months ago, this certificate was provided by one CA, but newer certificate is provided by a different one.

Because of this, existing installations of RubyGems would have to been updated before the switch of the certificate and give enough time for the change to spread (and people to update).

As what normally happens with software, things might get out of sync and coordinate such effort, to the size and usage of rubygems.org is almost impossible.

I've described this on Issue #1050

We had discussed also on IRC, and patches and backports were provided to all major branches of RubyGems: 1.8, 2.0, 2.2, 2.4 and 2.6

Please understand this could happen to anyone. Release multiple versions of any software in a short span of time and be very time sensitive is highly complicated.

Even if we have official releases of any of the versions that correct the issue, it will not be possible install those via RubyGems (chicken-egg problem described before).

Installing using update packages

RubyGems has covered this in the official guides, please follow the instructions here

It involves:

  • Manually downloading the latest .gem file.
  • Installing it using gem install --local
  • Run the update_rubygems command
  • Profit

You should now be able to install gems normally.

If you still experience any issue, please search for any existing issue on RubyGems Issue Tracker or report a new one.

@drbrain

This comment has been minimized.

Show comment
Hide comment
@drbrain

drbrain Dec 2, 2014

I think we should add this to guides.rubygems.org

drbrain commented Dec 2, 2014

I think we should add this to guides.rubygems.org

@takueof

This comment has been minimized.

Show comment
Hide comment
@takueof

takueof commented Dec 3, 2014

+1

@trabulmonkee

This comment has been minimized.

Show comment
Hide comment
@trabulmonkee

trabulmonkee Dec 3, 2014

Thanks for the insight and workaround. Just tried it out and gem installs are working now.
ruby -v
ruby 2.0.0p598 (2014-11-13) [i386-mingw32]
gem -v
2.4.5

trabulmonkee commented Dec 3, 2014

Thanks for the insight and workaround. Just tried it out and gem installs are working now.
ruby -v
ruby 2.0.0p598 (2014-11-13) [i386-mingw32]
gem -v
2.4.5

@StevieJayCee

This comment has been minimized.

Show comment
Hide comment
@StevieJayCee

StevieJayCee Dec 3, 2014

You sir, are a 'gem'. Thanks muchly.

StevieJayCee commented Dec 3, 2014

You sir, are a 'gem'. Thanks muchly.

@codeodor

This comment has been minimized.

Show comment
Hide comment
@codeodor

codeodor Dec 3, 2014

Thank you for this. Big help. ❤️ 💚 💜

codeodor commented Dec 3, 2014

Thank you for this. Big help. ❤️ 💚 💜

@luislavena

This comment has been minimized.

Show comment
Hide comment
@luislavena

luislavena Dec 4, 2014

@trabulmonkee please avoid RubyGems 2.4.x, as mentioned in the instructions, that version is broken on Windows.

Owner

luislavena commented Dec 4, 2014

@trabulmonkee please avoid RubyGems 2.4.x, as mentioned in the instructions, that version is broken on Windows.

@beauxjames

This comment has been minimized.

Show comment
Hide comment
@beauxjames

beauxjames Dec 4, 2014

Thank you...where do I send the beer?

beauxjames commented Dec 4, 2014

Thank you...where do I send the beer?

@brunowego

This comment has been minimized.

Show comment
Hide comment
@brunowego

brunowego commented Dec 4, 2014

Thanks @luislavena 😄

@jomko

This comment has been minimized.

Show comment
Hide comment
@jomko

jomko Dec 4, 2014

thank you!

jomko commented Dec 4, 2014

thank you!

@bdonaldharris

This comment has been minimized.

Show comment
Hide comment
@bdonaldharris

bdonaldharris Dec 6, 2014

THANK YOU!!!!!!!!!!!

bdonaldharris commented Dec 6, 2014

THANK YOU!!!!!!!!!!!

@tsanak

This comment has been minimized.

Show comment
Hide comment
@tsanak

tsanak Dec 7, 2014

Thank you so much!! 😃 😄

tsanak commented Dec 7, 2014

Thank you so much!! 😃 😄

@rroman81

This comment has been minimized.

Show comment
Hide comment
@rroman81

rroman81 Dec 9, 2014

great stuff, boy. This is definitely needs to be added to the guide.
Btw, how do i update the documentation of the already installed gems. I had to use --source http://api.rubygems.org option to get some gems while experiencing this issue.

rroman81 commented Dec 9, 2014

great stuff, boy. This is definitely needs to be added to the guide.
Btw, how do i update the documentation of the already installed gems. I had to use --source http://api.rubygems.org option to get some gems while experiencing this issue.

@rmorrin

This comment has been minimized.

Show comment
Hide comment
@rmorrin

rmorrin Dec 10, 2014

Awesome stuff, fixed the issue for me too! 👍

rmorrin commented Dec 10, 2014

Awesome stuff, fixed the issue for me too! 👍

@voku

This comment has been minimized.

Show comment
Hide comment
@voku

voku Dec 10, 2014

Thx for this +1

voku commented Dec 10, 2014

Thx for this +1

@TImPDaley

This comment has been minimized.

Show comment
Hide comment
@TImPDaley

TImPDaley Dec 11, 2014

THANK YOU VERY MUCH...

TImPDaley commented Dec 11, 2014

THANK YOU VERY MUCH...

@jltemple

This comment has been minimized.

Show comment
Hide comment
@jltemple

jltemple Dec 11, 2014

+1, +1 for adding this to the guide

jltemple commented Dec 11, 2014

+1, +1 for adding this to the guide

@perfmoron

This comment has been minimized.

Show comment
Hide comment
@perfmoron

perfmoron Dec 12, 2014

Naice job!

perfmoron commented Dec 12, 2014

Naice job!

@robert-toth

This comment has been minimized.

Show comment
Hide comment
@robert-toth

robert-toth Dec 12, 2014

Works like a charm. Thanks!

robert-toth commented Dec 12, 2014

Works like a charm. Thanks!

@jdonaldson10

This comment has been minimized.

Show comment
Hide comment
@jdonaldson10

jdonaldson10 commented Dec 13, 2014

Thanks 👍

@vtypal

This comment has been minimized.

Show comment
Hide comment
@vtypal

vtypal Dec 13, 2014

Thank you

vtypal commented Dec 13, 2014

Thank you

@nakoo

This comment has been minimized.

Show comment
Hide comment
@nakoo

nakoo commented Dec 13, 2014

Thanks!

@st0le

This comment has been minimized.

Show comment
Hide comment
@st0le

st0le commented Dec 14, 2014

+1

@dlwilson88

This comment has been minimized.

Show comment
Hide comment
@dlwilson88

dlwilson88 Dec 14, 2014

Yet another happy coder

dlwilson88 commented Dec 14, 2014

Yet another happy coder

@gmarini

This comment has been minimized.

Show comment
Hide comment
@gmarini

gmarini Dec 16, 2014

Thanks! It works!

gmarini commented Dec 16, 2014

Thanks! It works!

@PeterCamilleri

This comment has been minimized.

Show comment
Hide comment
@PeterCamilleri

PeterCamilleri Dec 16, 2014

Heart filled gratitude and thanks!

PeterCamilleri commented Dec 16, 2014

Heart filled gratitude and thanks!

@master777

This comment has been minimized.

Show comment
Hide comment
@master777

master777 commented Dec 16, 2014

Thanks!!

@ferventcoder

This comment has been minimized.

Show comment
Hide comment
@ferventcoder

ferventcoder commented Dec 16, 2014

👍

@tangorri

This comment has been minimized.

Show comment
Hide comment
@tangorri

tangorri Dec 17, 2014

Thanks a lot !

tangorri commented Dec 17, 2014

Thanks a lot !

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 17, 2014

Works great! Thanks!

ghost commented Dec 17, 2014

Works great! Thanks!

@kastuart

This comment has been minimized.

Show comment
Hide comment
@kastuart

kastuart Dec 18, 2014

Sweet baby jesus it works! You're the best!

kastuart commented Dec 18, 2014

Sweet baby jesus it works! You're the best!

@jethroo

This comment has been minimized.

Show comment
Hide comment
@jethroo

jethroo Dec 18, 2014

awesome 🍸

jethroo commented Dec 18, 2014

awesome 🍸

@RichardHorton

This comment has been minimized.

Show comment
Hide comment
@RichardHorton

RichardHorton commented Dec 18, 2014

Thank you!

@poleveD

This comment has been minimized.

Show comment
Hide comment
@poleveD

poleveD Dec 18, 2014

Saved me lots of pain! Thank you!!

poleveD commented Dec 18, 2014

Saved me lots of pain! Thank you!!

@datacoda

This comment has been minimized.

Show comment
Hide comment
@datacoda

datacoda Dec 18, 2014

Thank you.

datacoda commented Dec 18, 2014

Thank you.

@omarsar

This comment has been minimized.

Show comment
Hide comment
@omarsar

omarsar Dec 18, 2014

Worked great. Thanks for the fix!

omarsar commented Dec 18, 2014

Worked great. Thanks for the fix!

@BenCrook

This comment has been minimized.

Show comment
Hide comment
@BenCrook

BenCrook Dec 18, 2014

Thank you!

BenCrook commented Dec 18, 2014

Thank you!

@EtaiG

This comment has been minimized.

Show comment
Hide comment
@EtaiG

EtaiG Dec 19, 2014

Thanks - this is exactly what I needed.

Thank you also for the well written explanation!

EtaiG commented Dec 19, 2014

Thanks - this is exactly what I needed.

Thank you also for the well written explanation!

@sharavsambuu

This comment has been minimized.

Show comment
Hide comment
@sharavsambuu

sharavsambuu Dec 20, 2014

cool! it work like a charm

sharavsambuu commented Dec 20, 2014

cool! it work like a charm

@jjgh

This comment has been minimized.

Show comment
Hide comment
@jjgh

jjgh Dec 20, 2014

Thanks. For some reason it was not working to me on Win7-64 until I added the "SSL_CERT_FILE" env. var with:

C:\set SSL_CERT_FILE=C:\Ruby200-x64\lib\ruby\2.0.0\rubygems\ssl_certs\AddTrustExternalCARoot-2048.pem

On a side-side-side note I'm experiencing the usual infinite CPU hog while installing rubygems darkfish documentation. This has been reported many times (at least on windows) and happens now and then with any gems... just a reminder in case someone wants something to work on ;)

jjgh commented Dec 20, 2014

Thanks. For some reason it was not working to me on Win7-64 until I added the "SSL_CERT_FILE" env. var with:

C:\set SSL_CERT_FILE=C:\Ruby200-x64\lib\ruby\2.0.0\rubygems\ssl_certs\AddTrustExternalCARoot-2048.pem

On a side-side-side note I'm experiencing the usual infinite CPU hog while installing rubygems darkfish documentation. This has been reported many times (at least on windows) and happens now and then with any gems... just a reminder in case someone wants something to work on ;)

@luislavena

This comment has been minimized.

Show comment
Hide comment
@luislavena

luislavena Dec 21, 2014

Folks,

I've updated the gist to include instructions on how to manually upgrade using the released update packages.

Cheers.

Owner

luislavena commented Dec 21, 2014

Folks,

I've updated the gist to include instructions on how to manually upgrade using the released update packages.

Cheers.

@thany

This comment has been minimized.

Show comment
Hide comment
@thany

thany Dec 21, 2014

Works.

Now the guys at ruby can go an incorporate this into the installer. It's quite rediculous to have to do this for every new Ruby installation.

thany commented Dec 21, 2014

Works.

Now the guys at ruby can go an incorporate this into the installer. It's quite rediculous to have to do this for every new Ruby installation.

@hmurillop

This comment has been minimized.

Show comment
Hide comment
@hmurillop

hmurillop Dec 22, 2014

Thank you so much!! i have used the Manual solution to SSL issue and it worked great!!

hmurillop commented Dec 22, 2014

Thank you so much!! i have used the Manual solution to SSL issue and it worked great!!

@architrathi

This comment has been minimized.

Show comment
Hide comment
@architrathi

architrathi Dec 22, 2014

A big thank you! Took a lot of time to find this thread.

architrathi commented Dec 22, 2014

A big thank you! Took a lot of time to find this thread.

@krisimmig

This comment has been minimized.

Show comment
Hide comment
@krisimmig

krisimmig Dec 22, 2014

thumbs up!

krisimmig commented Dec 22, 2014

thumbs up!

@chiefy

This comment has been minimized.

Show comment
Hide comment
@chiefy

chiefy Dec 22, 2014

👍 Windows 8.1 x64 ruby 2.0.0p481 mingw

chiefy commented Dec 22, 2014

👍 Windows 8.1 x64 ruby 2.0.0p481 mingw

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Dec 22, 2014

Works perfectly on Windows 7 x64 with Ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
Thank you so much!

ghost commented Dec 22, 2014

Works perfectly on Windows 7 x64 with Ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
Thank you so much!

@Eaiman

This comment has been minimized.

Show comment
Hide comment
@Eaiman

Eaiman Dec 24, 2014

It works.
Thank you so much :)

Eaiman commented Dec 24, 2014

It works.
Thank you so much :)

@ClementNerma

This comment has been minimized.

Show comment
Hide comment
@ClementNerma

ClementNerma Dec 24, 2014

Thank you very much !!!! 😄

ClementNerma commented Dec 24, 2014

Thank you very much !!!! 😄

@miau

This comment has been minimized.

Show comment
Hide comment
@miau

miau Dec 25, 2014

I've written a dirty one-liner that do steps of "Manual solution to SSL issue". It works on Windows.
https://gist.github.com/miau/1b9eb877acb57f6c4c58

miau commented Dec 25, 2014

I've written a dirty one-liner that do steps of "Manual solution to SSL issue". It works on Windows.
https://gist.github.com/miau/1b9eb877acb57f6c4c58

@jtlindsey

This comment has been minimized.

Show comment
Hide comment
@jtlindsey

jtlindsey Dec 26, 2014

Thanks, installing using update package (new) worked for me on Win7 pro

jtlindsey commented Dec 26, 2014

Thanks, installing using update package (new) worked for me on Win7 pro

@Alex-Fortin

This comment has been minimized.

Show comment
Hide comment
@Alex-Fortin

Alex-Fortin Dec 28, 2014

Thanks so much. great explanation

Alex-Fortin commented Dec 28, 2014

Thanks so much. great explanation

@mikeoconnell

This comment has been minimized.

Show comment
Hide comment
@mikeoconnell

mikeoconnell Dec 28, 2014

Thanks for this! Back to my tutorials...

mikeoconnell commented Dec 28, 2014

Thanks for this! Back to my tutorials...

@dunake

This comment has been minimized.

Show comment
Hide comment
@dunake

dunake Dec 29, 2014

thank you so much

dunake commented Dec 29, 2014

thank you so much

@menz1es

This comment has been minimized.

Show comment
Hide comment
@menz1es

menz1es Dec 29, 2014

@miau your the man, that beast of a one-liner worked a treat.

menz1es commented Dec 29, 2014

@miau your the man, that beast of a one-liner worked a treat.

@krestt

This comment has been minimized.

Show comment
Hide comment
@krestt

krestt Dec 30, 2014

You are the Man!! Thank you very much!

krestt commented Dec 30, 2014

You are the Man!! Thank you very much!

@prideloki

This comment has been minimized.

Show comment
Hide comment
@prideloki

prideloki commented Dec 31, 2014

thank you

@benmathews1

This comment has been minimized.

Show comment
Hide comment
@benmathews1

benmathews1 Dec 31, 2014

Hi! I'm really really new to coding in general and pretty much everything specifically and I was following the lynda.com tutorial regarding installing Ruby on Rails until I encountered this error. Unfortunately, though I tried several times to apply the above fix, I'm still stuck! For one thing, when I click the link for the trust certificate I get a big block of text, which I think is correct, but I'm not sure how to "download" this or place it anywhere. And then in step two, when I do the "locat[ing] the directory" step a little window does appear, but it vanishes almost immediately. Past that I don't really know what to do? I've tried pasting the trust certificate text directly in the command prompt box deal, which didn't work, and I've tried opening that vanishing window again and again but it just disappears over and over. Again, I have no clue what I'm doing and I'm sure I'm making some huge ookie mistake but any advice would be greatly appreciated!! Thanks!!!

benmathews1 commented Dec 31, 2014

Hi! I'm really really new to coding in general and pretty much everything specifically and I was following the lynda.com tutorial regarding installing Ruby on Rails until I encountered this error. Unfortunately, though I tried several times to apply the above fix, I'm still stuck! For one thing, when I click the link for the trust certificate I get a big block of text, which I think is correct, but I'm not sure how to "download" this or place it anywhere. And then in step two, when I do the "locat[ing] the directory" step a little window does appear, but it vanishes almost immediately. Past that I don't really know what to do? I've tried pasting the trust certificate text directly in the command prompt box deal, which didn't work, and I've tried opening that vanishing window again and again but it just disappears over and over. Again, I have no clue what I'm doing and I'm sure I'm making some huge ookie mistake but any advice would be greatly appreciated!! Thanks!!!

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jan 3, 2015

THANK YOU!

ghost commented Jan 3, 2015

THANK YOU!

@mctolentino

This comment has been minimized.

Show comment
Hide comment
@mctolentino

mctolentino Jan 4, 2015

Works perfectly! Thanks for the workaround.

mctolentino commented Jan 4, 2015

Works perfectly! Thanks for the workaround.

@trabulmonkee

This comment has been minimized.

Show comment
Hide comment
@trabulmonkee

trabulmonkee Jan 5, 2015

@luislavena - So updating to rubygems 2.4.x after doing this manual update is not advised, should just stay at 2.0.15? My understanding was that it was just a cert key issue which gets resolved after doing the manual update.

trabulmonkee commented Jan 5, 2015

@luislavena - So updating to rubygems 2.4.x after doing this manual update is not advised, should just stay at 2.0.15? My understanding was that it was just a cert key issue which gets resolved after doing the manual update.

@nagoshiashumari

This comment has been minimized.

Show comment
Hide comment
@nagoshiashumari

nagoshiashumari Jan 6, 2015

Thank you for this. :+1

nagoshiashumari commented Jan 6, 2015

Thank you for this. :+1

@newbro

This comment has been minimized.

Show comment
Hide comment
@newbro

newbro Jan 6, 2015

Another thank you from me :D

newbro commented Jan 6, 2015

Another thank you from me :D

@GeetaGh

This comment has been minimized.

Show comment
Hide comment
@GeetaGh

GeetaGh Jan 6, 2015

Thank you..

GeetaGh commented Jan 6, 2015

Thank you..

@GeetaGh

This comment has been minimized.

Show comment
Hide comment
@GeetaGh

GeetaGh Jan 6, 2015

Surprisingly when I installed compass for the first time, i didn't have to do anything , but while upgrading I was facing this issue. And I was completely going in wrong way, until I was your post. Thank you.

GeetaGh commented Jan 6, 2015

Surprisingly when I installed compass for the first time, i didn't have to do anything , but while upgrading I was facing this issue. And I was completely going in wrong way, until I was your post. Thank you.

@DuongAnh

This comment has been minimized.

Show comment
Hide comment
@DuongAnh

DuongAnh Jan 6, 2015

Thanks for your help ! PERFECT ^_^

DuongAnh commented Jan 6, 2015

Thanks for your help ! PERFECT ^_^

@bjbussell

This comment has been minimized.

Show comment
Hide comment
@bjbussell

bjbussell commented Jan 6, 2015

Thanks!

@lostandfownd

This comment has been minimized.

Show comment
Hide comment
@lostandfownd

lostandfownd Jan 7, 2015

Tnx , solved the problem instantly , best fix on the web

lostandfownd commented Jan 7, 2015

Tnx , solved the problem instantly , best fix on the web

@intuedge

This comment has been minimized.

Show comment
Hide comment
@intuedge

intuedge Jan 7, 2015

@benmathews1 -- don't click the link to open it. right-click and select save-as, and then follow the guidelines to make sure that the file you save ends up with the proper .pem extension.

intuedge commented Jan 7, 2015

@benmathews1 -- don't click the link to open it. right-click and select save-as, and then follow the guidelines to make sure that the file you save ends up with the proper .pem extension.

@neoalvaro

This comment has been minimized.

Show comment
Hide comment
@neoalvaro

neoalvaro Jan 8, 2015

Luis I got stuck in step 3 of "Manual Solution", how can I locate ssl_certs directory and copy the .pem file? on a pc windows 8? I'm a total newbie in all this programing field. thanks

neoalvaro commented Jan 8, 2015

Luis I got stuck in step 3 of "Manual Solution", how can I locate ssl_certs directory and copy the .pem file? on a pc windows 8? I'm a total newbie in all this programing field. thanks

@mmm13

This comment has been minimized.

Show comment
Hide comment
@mmm13

mmm13 Jan 8, 2015

Thanks! working now..

mmm13 commented Jan 8, 2015

Thanks! working now..

@MikaelSmith

This comment has been minimized.

Show comment
Hide comment
@MikaelSmith

MikaelSmith Jan 8, 2015

Thank you so much for your work on this.

MikaelSmith commented Jan 8, 2015

Thank you so much for your work on this.

@obiora22

This comment has been minimized.

Show comment
Hide comment
@obiora22

obiora22 Jan 9, 2015

Awesome help. Thank you!!!

obiora22 commented Jan 9, 2015

Awesome help. Thank you!!!

@circleupx

This comment has been minimized.

Show comment
Hide comment
@circleupx

circleupx Jan 10, 2015

Perfect 😄

circleupx commented Jan 10, 2015

Perfect 😄

@webdevilopers

This comment has been minimized.

Show comment
Hide comment
@webdevilopers

webdevilopers commented Jan 10, 2015

👍

@TobiasAxelsson

This comment has been minimized.

Show comment
Hide comment
@TobiasAxelsson

TobiasAxelsson Jan 10, 2015

Thanks for your work on this, had problems for days but thought it was my firewall or network.
For some reason the folder is protected (win7 64 admin-rights) and the commands fail. But the manual operation worked. Thanks again!

TobiasAxelsson commented Jan 10, 2015

Thanks for your work on this, had problems for days but thought it was my firewall or network.
For some reason the folder is protected (win7 64 admin-rights) and the commands fail. But the manual operation worked. Thanks again!

@Limess

This comment has been minimized.

Show comment
Hide comment
@Limess

Limess Jan 11, 2015

Worked for me, thank you.

Limess commented Jan 11, 2015

Worked for me, thank you.

@dmitryvmin

This comment has been minimized.

Show comment
Hide comment
@dmitryvmin

dmitryvmin Jan 13, 2015

Fixed. Thank you!

dmitryvmin commented Jan 13, 2015

Fixed. Thank you!

@dniman

This comment has been minimized.

Show comment
Hide comment
@dniman

dniman Jan 15, 2015

Great job! Thanks!

dniman commented Jan 15, 2015

Great job! Thanks!

@sterswift

This comment has been minimized.

Show comment
Hide comment
@sterswift

sterswift Jan 15, 2015

thanks, man, you saved my ass

sterswift commented Jan 15, 2015

thanks, man, you saved my ass

@anicething

This comment has been minimized.

Show comment
Hide comment
@anicething

anicething Jan 15, 2015

thans,man,you saved my ass

anicething commented Jan 15, 2015

thans,man,you saved my ass

@webandmobilesoultion

This comment has been minimized.

Show comment
Hide comment
@webandmobilesoultion

webandmobilesoultion Jan 15, 2015

Thanks for your help.
This issue is very useful for ROR install on windows 7.
Again say "Thanks for your help luislavena! Great ,Perfectly "

webandmobilesoultion commented Jan 15, 2015

Thanks for your help.
This issue is very useful for ROR install on windows 7.
Again say "Thanks for your help luislavena! Great ,Perfectly "

@dongchen

This comment has been minimized.

Show comment
Hide comment
@dongchen

dongchen Jan 19, 2015

Thank you. This worked for me.

dongchen commented Jan 19, 2015

Thank you. This worked for me.

@jfloff

This comment has been minimized.

Show comment
Hide comment
@jfloff

jfloff commented Jan 20, 2015

👍

@yubrajpokharel

This comment has been minimized.

Show comment
Hide comment
@yubrajpokharel

yubrajpokharel Jan 21, 2015

thats great thanks a lot

yubrajpokharel commented Jan 21, 2015

thats great thanks a lot

@cfetty

This comment has been minimized.

Show comment
Hide comment
@cfetty

cfetty Jan 21, 2015

Clarification on step 2. Simply copy the new cert file to the cert directory under Ruby. For example mine was under C:\Ruby21-x64\lib\ruby\2.1.0\rubygems\ssl_certs

cfetty commented Jan 21, 2015

Clarification on step 2. Simply copy the new cert file to the cert directory under Ruby. For example mine was under C:\Ruby21-x64\lib\ruby\2.1.0\rubygems\ssl_certs

@UdayKumarDas

This comment has been minimized.

Show comment
Hide comment
@UdayKumarDas

UdayKumarDas Jan 22, 2015

Thank you very much, it's really helpfull

UdayKumarDas commented Jan 22, 2015

Thank you very much, it's really helpfull

@kyusufm

This comment has been minimized.

Show comment
Hide comment
@kyusufm

kyusufm Jan 23, 2015

Thank you so much, it's really help.

kyusufm commented Jan 23, 2015

Thank you so much, it's really help.

@levserk

This comment has been minimized.

Show comment
Hide comment
@levserk

levserk Jan 23, 2015

Thank you so much!

levserk commented Jan 23, 2015

Thank you so much!

@yaooluu

This comment has been minimized.

Show comment
Hide comment
@yaooluu

yaooluu Jan 24, 2015

Thank you sir! Nothing can express my gratitude for your article. Thank you!!!

yaooluu commented Jan 24, 2015

Thank you sir! Nothing can express my gratitude for your article. Thank you!!!

@watersavvy

This comment has been minimized.

Show comment
Hide comment
@watersavvy

watersavvy Jan 25, 2015

Thank you! I had to do a small modification to the process by downloading 2.2.3, then pulling the SSL Cert from that file and placing it into the original Ruby DL pack.

watersavvy commented Jan 25, 2015

Thank you! I had to do a small modification to the process by downloading 2.2.3, then pulling the SSL Cert from that file and placing it into the original Ruby DL pack.

@vike27

This comment has been minimized.

Show comment
Hide comment
@vike27

vike27 Jan 26, 2015

Thank you!!!! Finally I can get back to coding!

vike27 commented Jan 26, 2015

Thank you!!!! Finally I can get back to coding!

@alkinkasap

This comment has been minimized.

Show comment
Hide comment
@alkinkasap

alkinkasap Jan 26, 2015

all i can say is, That's Great! thank you..

alkinkasap commented Jan 26, 2015

all i can say is, That's Great! thank you..

@stephendanner

This comment has been minimized.

Show comment
Hide comment
@stephendanner

stephendanner Jan 27, 2015

Awesome! Worked perfectly on my Windoze 7 system. Thanks. Now I can get back to the Ruby on Rails intro.

stephendanner commented Jan 27, 2015

Awesome! Worked perfectly on my Windoze 7 system. Thanks. Now I can get back to the Ruby on Rails intro.

@fanian

This comment has been minimized.

Show comment
Hide comment
@fanian

fanian Jan 28, 2015

Amazing! Thanks for your participation!

fanian commented Jan 28, 2015

Amazing! Thanks for your participation!

@valgreen01

This comment has been minimized.

Show comment
Hide comment
@valgreen01

valgreen01 Jan 28, 2015

Thanks a lot! it works 😀

valgreen01 commented Jan 28, 2015

Thanks a lot! it works 😀

@fikriauliya

This comment has been minimized.

Show comment
Hide comment
@fikriauliya

fikriauliya Jan 29, 2015

Thanks it works 👍

fikriauliya commented Jan 29, 2015

Thanks it works 👍

@maximgatilin

This comment has been minimized.

Show comment
Hide comment
@maximgatilin

maximgatilin Jan 29, 2015

Very helpful, thanks

maximgatilin commented Jan 29, 2015

Very helpful, thanks

@SleepWalker

This comment has been minimized.

Show comment
Hide comment
@SleepWalker

SleepWalker Jan 30, 2015

Thanks a lot! rubygems-update worked for me

SleepWalker commented Jan 30, 2015

Thanks a lot! rubygems-update worked for me

@cobyasante

This comment has been minimized.

Show comment
Hide comment
@cobyasante

cobyasante Jan 30, 2015

This should be part of the manual, in fact it should the first thing you see before you start going about installing ruby or rails
Thanks guys you have saved me a lot of headaches

cobyasante commented Jan 30, 2015

This should be part of the manual, in fact it should the first thing you see before you start going about installing ruby or rails
Thanks guys you have saved me a lot of headaches

@aoeasif

This comment has been minimized.

Show comment
Hide comment
@aoeasif

aoeasif Jan 31, 2015

Thanks it's works fine. 😄 :

aoeasif commented Jan 31, 2015

Thanks it's works fine. 😄 :

@ifkas

This comment has been minimized.

Show comment
Hide comment
@ifkas

ifkas Feb 1, 2015

Beautiful, works as a charm, thanks bunch!

ifkas commented Feb 1, 2015

Beautiful, works as a charm, thanks bunch!

@Landish

This comment has been minimized.

Show comment
Hide comment
@Landish

Landish Feb 2, 2015

I can't believe this. It finally works.
Many thanks to you @luislavena, you're my hero 😊

Landish commented Feb 2, 2015

I can't believe this. It finally works.
Many thanks to you @luislavena, you're my hero 😊

@ShulinChen

This comment has been minimized.

Show comment
Hide comment
@ShulinChen

ShulinChen Feb 2, 2015

Thanks you so much!!!! After almost 2 hours of trying all kinds of technique, this one finally works!!Couldnt be more thankful

ShulinChen commented Feb 2, 2015

Thanks you so much!!!! After almost 2 hours of trying all kinds of technique, this one finally works!!Couldnt be more thankful

@chebaby

This comment has been minimized.

Show comment
Hide comment
@chebaby

chebaby Feb 3, 2015

thank you @luislavena, it works

chebaby commented Feb 3, 2015

thank you @luislavena, it works

@charlesuko

This comment has been minimized.

Show comment
Hide comment
@charlesuko

charlesuko Feb 4, 2015

thanks so much. this worked perfectly

charlesuko commented Feb 4, 2015

thanks so much. this worked perfectly

@rezadehganpour

This comment has been minimized.

Show comment
Hide comment
@rezadehganpour

rezadehganpour Feb 4, 2015

Hey Luis Thank you very much for this, However I followed all of your steps and still I have the certification problem my gem version was: 2.2.2 and with your help I upgrade that to 2.2.3. my "gem which rubygems" command return C:ror/Ruby200/lib/ruby/site_ruby/2.1.0/rubygems.rm.
When I tried to copy the .pem file that you provide in the ssl_certs file the name of the file was already exist so I replaced it! I just want to be as specific as I can so you can help me with this better!

Thanks a million!

rezadehganpour commented Feb 4, 2015

Hey Luis Thank you very much for this, However I followed all of your steps and still I have the certification problem my gem version was: 2.2.2 and with your help I upgrade that to 2.2.3. my "gem which rubygems" command return C:ror/Ruby200/lib/ruby/site_ruby/2.1.0/rubygems.rm.
When I tried to copy the .pem file that you provide in the ssl_certs file the name of the file was already exist so I replaced it! I just want to be as specific as I can so you can help me with this better!

Thanks a million!

@anisabboud

This comment has been minimized.

Show comment
Hide comment
@anisabboud

anisabboud Feb 7, 2015

Thank you!

anisabboud commented Feb 7, 2015

Thank you!

@KabbAmine

This comment has been minimized.

Show comment
Hide comment
@KabbAmine

KabbAmine Feb 7, 2015

Thank you very much 😄

KabbAmine commented Feb 7, 2015

Thank you very much 😄

@kspurgin

This comment has been minimized.

Show comment
Hide comment
@kspurgin

kspurgin Feb 9, 2015

++ thanks.

kspurgin commented Feb 9, 2015

++ thanks.

@MattForerunner

This comment has been minimized.

Show comment
Hide comment
@MattForerunner

MattForerunner Feb 9, 2015

I must be really bad with computers or something but I can not get this to work for the life of me!

MattForerunner commented Feb 9, 2015

I must be really bad with computers or something but I can not get this to work for the life of me!

@MattForerunner

This comment has been minimized.

Show comment
Hide comment
@MattForerunner

MattForerunner Feb 9, 2015

Thank you JESUS I GOT IT TO WORK!!!!

MattForerunner commented Feb 9, 2015

Thank you JESUS I GOT IT TO WORK!!!!

@sweco-seprst

This comment has been minimized.

Show comment
Hide comment
@sweco-seprst

sweco-seprst Feb 12, 2015

Is this suppose to also work on mac? I can't get it to work.

sweco-seprst commented Feb 12, 2015

Is this suppose to also work on mac? I can't get it to work.

@prasanthkarukkuvel

This comment has been minimized.

Show comment
Hide comment
@prasanthkarukkuvel

prasanthkarukkuvel Feb 12, 2015

Saved my day! Thank you 😊

prasanthkarukkuvel commented Feb 12, 2015

Saved my day! Thank you 😊

@anilpanthi

This comment has been minimized.

Show comment
Hide comment
@anilpanthi

anilpanthi commented Feb 13, 2015

thanks bro

@mrwhitney

This comment has been minimized.

Show comment
Hide comment
@mrwhitney

mrwhitney Feb 14, 2015

Downloaded rubygems-update-2.2.3.gem from https://github.com/rubygems/rubygems/releases/tag/v2.2.3

gem install --local ubygems-update-2.2.3.gem
#  Successfully installed rubygems-update-2.2.3

gem --version
#2.2.2

Using Git bash on Windows 7.

Edit: I missed

update_rubygems --no-ri --no-rdoc

mrwhitney commented Feb 14, 2015

Downloaded rubygems-update-2.2.3.gem from https://github.com/rubygems/rubygems/releases/tag/v2.2.3

gem install --local ubygems-update-2.2.3.gem
#  Successfully installed rubygems-update-2.2.3

gem --version
#2.2.2

Using Git bash on Windows 7.

Edit: I missed

update_rubygems --no-ri --no-rdoc
@nipendar

This comment has been minimized.

Show comment
Hide comment
@nipendar

nipendar Feb 15, 2015

Thank you...very nice explanation

nipendar commented Feb 15, 2015

Thank you...very nice explanation

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Feb 16, 2015

Thank you very much, now I'm able to start with SASS 😂

ghost commented Feb 16, 2015

Thank you very much, now I'm able to start with SASS 😂

@MickCreates

This comment has been minimized.

Show comment
Hide comment
@MickCreates

MickCreates Feb 19, 2015

This is perfect! It solved my dilemma, I thought I was going mad running around in circles trying to get a few simple gems installed but this really did the trick.

Thank you!

MickCreates commented Feb 19, 2015

This is perfect! It solved my dilemma, I thought I was going mad running around in circles trying to get a few simple gems installed but this really did the trick.

Thank you!

@Sailaja13

This comment has been minimized.

Show comment
Hide comment
@Sailaja13

Sailaja13 Feb 19, 2015

Thanks a lot!

Sailaja13 commented Feb 19, 2015

Thanks a lot!

@Andrelton

This comment has been minimized.

Show comment
Hide comment
@Andrelton

Andrelton Feb 19, 2015

THANK YOU!

Andrelton commented Feb 19, 2015

THANK YOU!

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Feb 19, 2015

Thanks very much!!!!!!!!!!!!!!

ghost commented Feb 19, 2015

Thanks very much!!!!!!!!!!!!!!

@rashmibmanyam

This comment has been minimized.

Show comment
Hide comment
@rashmibmanyam

rashmibmanyam Feb 20, 2015

I followed all the steps that you have mentioned, but I still see the same error. :(

rashmibmanyam commented Feb 20, 2015

I followed all the steps that you have mentioned, but I still see the same error. :(

@DerekFoulk

This comment has been minimized.

Show comment
Hide comment
@DerekFoulk

DerekFoulk Feb 20, 2015

My god. Now I can use Jekyll to build my Bootstrap. Thank you. Thank you thank you thank (a million times) thank you. This worked like a charm...

DerekFoulk commented Feb 20, 2015

My god. Now I can use Jekyll to build my Bootstrap. Thank you. Thank you thank you thank (a million times) thank you. This worked like a charm...

@mawwerik

This comment has been minimized.

Show comment
Hide comment
@mawwerik

mawwerik Feb 20, 2015

Thanks for this excellent description...

mawwerik commented Feb 20, 2015

Thanks for this excellent description...

@RomainBrunias

This comment has been minimized.

Show comment
Hide comment
@RomainBrunias

RomainBrunias commented Feb 21, 2015

Thanks.

@harellevy

This comment has been minimized.

Show comment
Hide comment
@harellevy

harellevy Feb 22, 2015

Thanks!!! that helped me!!

harellevy commented Feb 22, 2015

Thanks!!! that helped me!!

@akshitshah

This comment has been minimized.

Show comment
Hide comment
@akshitshah

akshitshah Feb 23, 2015

helped!!! rockstar you are!!!

akshitshah commented Feb 23, 2015

helped!!! rockstar you are!!!

@jansmolders86

This comment has been minimized.

Show comment
Hide comment
@jansmolders86

jansmolders86 Feb 23, 2015

Thanks a bunch! 👍

jansmolders86 commented Feb 23, 2015

Thanks a bunch! 👍

@diazemiliano

This comment has been minimized.

Show comment
Hide comment
@diazemiliano

diazemiliano Feb 24, 2015

Thanks! 👌

diazemiliano commented Feb 24, 2015

Thanks! 👌

@dynamite-ready

This comment has been minimized.

Show comment
Hide comment
@dynamite-ready

dynamite-ready Feb 24, 2015

Can't you just add the cert to the latest installation packages, and shorten the guide above?

dynamite-ready commented Feb 24, 2015

Can't you just add the cert to the latest installation packages, and shorten the guide above?

@hpasweden

This comment has been minimized.

Show comment
Hide comment
@hpasweden

hpasweden Feb 24, 2015

Works fine! thx

hpasweden commented Feb 24, 2015

Works fine! thx

@ben-rubin

This comment has been minimized.

Show comment
Hide comment
@ben-rubin

ben-rubin Feb 25, 2015

Thank you!

ben-rubin commented Feb 25, 2015

Thank you!

@SHenry77

This comment has been minimized.

Show comment
Hide comment
@SHenry77

SHenry77 Feb 25, 2015

Thank you, I was at a loss. You got me back on track.

SHenry77 commented Feb 25, 2015

Thank you, I was at a loss. You got me back on track.

@abdullahnaseer

This comment has been minimized.

Show comment
Hide comment
@abdullahnaseer

abdullahnaseer commented Feb 25, 2015

Thank you!

@purduekenny

This comment has been minimized.

Show comment
Hide comment
@purduekenny

purduekenny Feb 25, 2015

You're the best.

purduekenny commented Feb 25, 2015

You're the best.

@satphonix

This comment has been minimized.

Show comment
Hide comment
@satphonix

satphonix Feb 26, 2015

Thanks, it works!

satphonix commented Feb 26, 2015

Thanks, it works!

@rezwan-hossain

This comment has been minimized.

Show comment
Hide comment
@rezwan-hossain

rezwan-hossain Feb 27, 2015

thank u its work

rezwan-hossain commented Feb 27, 2015

thank u its work

@wellxion

This comment has been minimized.

Show comment
Hide comment
@wellxion

wellxion Mar 2, 2015

thx a lot. It's useful

wellxion commented Mar 2, 2015

thx a lot. It's useful

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost commented Mar 3, 2015

+1 +1

@lenazh

This comment has been minimized.

Show comment
Hide comment
@lenazh

lenazh Mar 3, 2015

Thank you so much!!! I hurt my head bashing it against a wall already!

lenazh commented Mar 3, 2015

Thank you so much!!! I hurt my head bashing it against a wall already!

@acaparrelli

This comment has been minimized.

Show comment
Hide comment
@acaparrelli