ruby – 创建新Rails项目的问题:“你有可能遇到一个中间人攻击
发布时间:2020-12-17 03:39:37 所属栏目:百科 来源:网络整理
导读:我以前从未见过这个,而谷歌搜索这个确切的消息却没有任何结果. Stack Overflow是 run bundle installFetching source index from https://rubygems.org/Resolving dependencies...Could not verify the SSL certificate for https://rubygems.org/.There is
我以前从未见过这个,而谷歌搜索这个确切的消息却没有任何结果. 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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |