Windows 开发环境 ,Ruby项目的Gemfile中的sources是这个
source "http://gems.ruby-china.com"
执行 bundle install报错:
Fetching source index from http://gems.ruby-china.com/
Resolving dependencies...
Could not verify the SSL certificate for
https://gems.ruby-china.com/quick/Marshal.4.8/unf-0.1.4-java.gemspec.rz.
There is a chance you are experiencing a man-in-the-middle attack, but most
likely your system doesn't have the CA certificates needed for verification. For
information about OpenSSL certificates, see bit.ly/ruby-ssl. To connect without
using SSL, edit your Gemfile sources and change 'https' to 'http'.
PS F:\develop\project\VS\jiankong\stea> bundle config
Settings are listed in order of priority. The top value will be used.