我以前从未见过这个,而谷歌搜索这个确切的消息却没有任何结果. Stack Overflow是
run bundle install Fetching source index from https://rubygems.org/ Resolving dependencies... Could not verify the SSL certificate for https://rubygems.org/. 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/ssl-certs. To connect without using SSL,edit your Gemfile sources and change 'https' to 'http'.
我按照这个页面上的说明,空手而归:
http://www.beginnerruby.com/rails-troubleshooting/fixing-opensslbundler-issue-for-rails-on-debian/
有人有什么想法吗?
Mac OSX Lion使用Rubymine.
解决方法
我跟着
these instructions没有明显的结果.阅读评论,有人问终端是否重新开放.所以,我关闭/打开了终端.这解决了我的问题.我正在使用SNowLeopard.
$brew update $brew install openssl $brew link openssl --force $brew install curl-ca-bundle $brew tap raggi/ale $brew install openssl-osx-ca