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.
1 parent b1c41a4 commit 950d13fCopy full SHA for 950d13f
lib/plsql/connection.rb
@@ -37,8 +37,8 @@ def self.create_new(params) #:nodoc:
37
end
38
39
def self.driver_type #:nodoc:
40
- # MRI 1.8.6 or YARV 1.9.1
41
- @driver_type ||= if (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby") && defined?(OCI8)
+ # MRI 1.8.6 or YARV 1.9.1 or TruffleRuby
+ @driver_type ||= if (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "truffleruby") && defined?(OCI8)
42
:oci
43
# JRuby
44
elsif (defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby")
0 commit comments