Skip to content

Instantly share code, notes, and snippets.

Avatar

TROi TroiSilver

  • RSA (mpumalanga >> nelspruit)
View GitHub Profile
@TroiSilver
TroiSilver / howto-manually-add-trust-cert-to-rubygems.md
Created Feb 6, 2018
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)
View howto-manually-add-trust-cert-to-rubygems.md

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,

View gist:ae5762e9a2c64c597534c51cc4e6fe5f
# Clone rbenv into ~/.rbenv
git clone git@github.com:sstephenson/rbenv.git ~/.rbenv
# Add rbenv to your PATH
# NOTE: rbenv is *NOT* compatible with rvm, so you'll need to
# remove rvm from your profile if it's present. (This is because
# rvm overrides the `gem` command.)
echo 'export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"' >> ~/.bash_profile
exec $SHELL