2013-02-26 54 views
2
$ bundle 
The source :rubygems is deprecated because HTTP requests are insecure. 
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. 

OK,改變的Gemfile到:可怕的OpenSSL的:: SSL ::上的RubyGems使用時SSLError HTTPS源

source 'https://rubygems.org' 

但後來:

$ bundle 
    Unfortunately, a fatal error has occurred. Please see the Bundler 
    troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! 
/Users/ale/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/net/http.rb:917:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) 

如何解決這無盡SSL混亂?

+0

謝謝,但我試過各種'RVM安裝2.0.0 --with-的OpenSSL DIR = \'釀造--prefix OpenSSL的\''和公司,但我仍然得到這個。這是一場噩夢。這是一個很大的噩夢。 – aledalgrande 2013-02-26 17:54:14

回答

5

該解決方案在這裏詳細解釋說:http://railsapps.github.com/openssl-certificate-verify-failed.html

+0

謝謝,但我已經讀過,並沒有解決我的問題。只是解決方法正在起作用,但它們不是真正的解決方案,是嗎? – aledalgrande 2013-02-27 10:36:48

+3

我沒有嘗試過的唯一一件事就是在這裏的評論和山獅,這是真正的解決方案!使用brew做'export SSL_CERT_FILE =/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt'安裝'curl-ca-bundle'證書包後,它就可以工作了。你可以把它放在你的.bash_profile中。 – aledalgrande 2013-02-27 10:57:45

+0

謝謝謝謝謝謝:))))))))))) – user1096509 2013-03-06 19:37:27

相關問題