OpenSSL bug when installing gems behind a proxy.

62 views
Skip to first unread message

zhzhzoo

unread,
Oct 23, 2013, 1:35:06 AM10/23/13
to rubyversi...@googlegroups.com
Hi, I encountered a problem while installing ruby behind a https proxy.

Exception `TypeError' at /Users/zhzhzoo/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:927 - no implicit conversion of true into String
ERROR:  While executing gem ... (TypeError)
    no implicit conversion of true into String
/Users/zhzhzoo/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/ssl.rb:102:in `decode'
/Users/zhzhzoo/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/ssl.rb:102:in `block in verify_certificate_identity'
/Users/zhzhzoo/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/openssl/ssl.rb:99:in `each'


After googling, I found it was due to a bug in OpenSSL lib: https://bugs.ruby-lang.org/issues/8575

So could I request that ruby-2.0.0 on rvm site be backported to fix this bug?
Thanks.

mpapis

unread,
Oct 23, 2013, 11:17:51 AM10/23/13
to rubyversi...@googlegroups.com
try:

    rvm install 2.0.0 --patch https://gist.github.com/mpapis/7120652/raw/13ff01c753d9cd7980f5c722add5e9ea16e95cd6/MRI-41812.patch

if that works we can add this patch for 2.0.0 just open an issue here: https://github.com/wayneeseguin/rvm/issues
Reply all
Reply to author
Forward
0 new messages