I am having issues with bundle install and bundle update in a Rails 5.0.1 project. I'm working on OS X with OpenSSL 0.9.8.
Error message:
Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by
peer - SSL_connect (https://rubygems.org/gems/colorize-0.8.1.gem)
An error occurred while installing colorize (0.8.1), and Bundler
cannot continue. Make sure that `gem install colorize -v '0.8.1'`
succeeds before bundling.
Yes, I have ran the gem installs for EACH gem that gives error. Eventually, the project stops giving error messages, but once I decide to add a NEW gem, the errors start again.
To give a rundown of what I have done to my machine thus far, I updated to openssl 1.1.0c in order to comply with braintree python requirements. This was done for a previous project, however, I think it has something to do with the error messages I am receiving on ROR now.
I have looked on SO for what reset by peer means. Also, after following a rabbit hole, I came across a comment from someone saying that they had the same issue and it had to do with RVM. I didn't bookmark where I found the comment though.
This makes me wonder if having rvm and rbenv and homebrew can possibly be causing the issue? I am aware that I can not get an exact answer due to each machine environment being different. However, if someone can point me to references to setting up/repairing openssl, tls, or whatever else may help me out, I might be able to figure it out.
I am also thinking of just creating a new user on my system, but will everything I have done to the system be carried over to new user?