We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c90533 + ef84d45 commit fdf82aeCopy full SHA for fdf82ae
1 file changed
IBM_DB_Adapter/ibm_db/lib/mswin32/ibm_db.rb
@@ -87,8 +87,10 @@ def unzipCLIPackage(archive, destination)
87
if machine_bits == 64
88
raise NotImplementedError, "ibm_db with Ruby 64-bit on Windows platform is not supported. Refer to README for more details"
89
else
90
- if (RUBY_VERSION =~ /3/)
+ if (RUBY_VERSION =~ /3.0/)
91
require 'rb3x/i386/ruby30/ibm_db.so'
92
+ elsif (RUBY_VERSION =~ /3.1/)
93
+ require 'rb3x/i386/ruby31/ibm_db.so'
94
elsif (RUBY_VERSION =~ /2.7/)
95
require 'rb2x/i386/ruby27/ibm_db.so'
96
elsif (RUBY_VERSION =~ /2.6/)
0 commit comments