jackhammer icon indicating copy to clipboard operation
jackhammer copied to clipboard

gem install bundler error

Open fz66 opened this issue 7 years ago • 3 comments

My docker version is 17.05.0-ce, build 89658be docker-compose version 1.12.0, build b31ff33. So i tried upgrading it and it throws the error [ Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/specs.4.8.gz) ]

Even when i do sh ./docker-build.sh it throws the same error. kindly advise.

fz66 avatar May 12 '17 10:05 fz66

Please refer to the following solution: https://gist.github.com/luislavena/f064211759ee0f806c88

NitescuLucian avatar May 12 '17 10:05 NitescuLucian

@NitescuLucian that is the first thing i tried and i get the following issue [Connecting to rubygems.org (rubygems.org)|151.101.130.2|:443... connected. ERROR: The certificate of ‘rubygems.org’ is not trusted. ERROR: The certificate of ‘rubygems.org’ is not yet activated. The certificate has not yet been activated] Tried downloading a particular .pem file as suggested in some blogs but couldn't get it to work. Any help is appreciated.

fz66 avatar May 12 '17 10:05 fz66

@fz66 Try gem update --system and make sure that OpenSSL is at the last version.

NitescuLucian avatar May 12 '17 12:05 NitescuLucian