I am trying to install the Bundler gem on my Mac. With the command:
sudo gem install bundler I get the following error:
ERROR: Could not find a
sudo gem install bundler --no-ri --no-rdoc.ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org/latest_specs.4.8.gz)
gem sources --remove https://rubygems.org/
gem sources --remove http://rubygems.org/
gem sources -l
and the output show:
*** CURRENT SOURCES ***
http://rubygems.org/
sudo gem install bundler --no-ri --no-rdoc again:Fetching: bundler-1.11.2.gem (100%)
Successfully installed bundler-1.11.2
1 gem installed
Bingo!!!