We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e24cfea + 76c403d commit e13cd04Copy full SHA for e13cd04
lib/httpclient/session.rb
@@ -21,7 +21,7 @@
21
require 'httpclient/timeout' # TODO: remove this once we drop 1.8 support
22
require 'httpclient/ssl_config'
23
require 'httpclient/http'
24
-if RUBY_ENGINE == 'jruby'
+if defined? JRUBY_VERSION
25
require 'httpclient/jruby_ssl_socket'
26
else
27
require 'httpclient/ssl_socket'
0 commit comments