SSL Certificate Update

From Test Automation Wiki
Revision as of 10:30, 14 March 2017 by MartijnP (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Clean solution

If this error occurs you can't install any gems. Most likely this happen because there is an old ruby gems installed on your computer.

  1. Download the latest GEM of rubygems here
  2. Go to the directory in CMD
  3. Write the following to install the GEM ruby setup.rb
    • With gem -v you can verify the newest version is correctly installed.

With the newest version installed it should be possible again to install gems.

Workaround solution that bypasses the SSL

First we add a new source with gem sources -a

Then we delete the old source with gem sources -r

This will bypass the security and allows you to install the gems.