Ruby rubygems 是不是有啥问题~~

hades0932 · 2022年11月16日 · 最后由 varro 回复于 2022年11月21日 · 1079 次阅读

刚刚试了一下,好的

时不时会有稳定性问题。我都换成清华源了

FROM: ruby:2.5.1-alpine3.7,版本比较老了。 mirrors.aliyun.com/rubygems/ 或者清华、中科大的就没有证书的问题。

316786359 回复

我测试下来阿里云的比较稳定,中科大、清华、南京的源需要设置 retry。

huacnlee 回复

@huacnlee 或者换高版本的 alpine3.1x 也不会出现证书过期的问题。

我也遇到问题 UG[a57142ea] Command: cd /home/apps/www/xxx/releases/20221121024406 && ~/.rvm/bin/rvm default do bundle install --binstubs /home/apps/www/xxxl/shared/bin --path /home/apps/www/xxx/shared/bundle --without development test --deployment --quiet

DEBUG[a57142ea] Could not verify the SSL certificate for https://gems.ruby-china.com/.

DEBUG[a57142ea] There is a chance you are experiencing a man-in-the-middle attack, but most

DEBUG[a57142ea] likely your system doesn't have the CA certificates needed for verification. For

DEBUG[a57142ea] information about OpenSSL certificates, see http://bit.ly/ruby-ssl. To connect

DEBUG[a57142ea] without using SSL, edit your Gemfile sources and change 'https' to 'http'.

需要 登录 后方可回复, 如果你还没有账号请 注册新账号