This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if defined?(JRUBY_VERSION) | |
#Hackily implement a missing method in JRuby net library that causes: | |
# undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0xb692bc4> | |
# | |
#See: http://jira.codehaus.org/browse/JRUBY-5529 | |
# | |
#In my case, its trigger from faraday in the oauth2 gem. |
NewerOlder