Difference between revisions of "SSL Certificate Update"
(Created page with "<h2>Clean solution</h2> 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. # Download the...") |
|||
Line 1: | Line 1: | ||
<h2>Clean solution</h2> | <h2>Clean solution</h2> | ||
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. | 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. | ||
− | # Download the latest GEM of rubygems | + | # Download the latest GEM of rubygems [https://rubygems.org/pages/download here] |
# Go to the directory in CMD | # Go to the directory in CMD | ||
# Write the following to install the GEM <code>ruby setup.rb</code> | # Write the following to install the GEM <code>ruby setup.rb</code> | ||
Line 9: | Line 9: | ||
<h2>"Unsafe" solution if updating rubygems doesn't work</h2> | <h2>"Unsafe" solution if updating rubygems doesn't work</h2> | ||
First we add a new source with <code>gem sources -a http://rubygems.org</code> | First we add a new source with <code>gem sources -a http://rubygems.org</code> | ||
+ | |||
Then we delete the old source with <code>gem sources -r https://rubygems.org</code> | Then we delete the old source with <code>gem sources -r https://rubygems.org</code> | ||
This will bypass the security and allows you to install the gems. | This will bypass the security and allows you to install the gems. | ||
+ | |||
+ | |||
+ | [[Category:FAQ]] |
Revision as of 18:33, 13 March 2017
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.
- Download the latest GEM of rubygems here
- Go to the directory in CMD
- Write the following to install the GEM
ruby setup.rb
- With
gem -v
you can verify the newest version is correctly installed.
- With
With the newest version installed it should be possible again to install gems.
"Unsafe" solution if updating rubygems doesn't work
First we add a new source with gem sources -a http://rubygems.org
Then we delete the old source with gem sources -r https://rubygems.org
This will bypass the security and allows you to install the gems.