We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fc0f6e + fb4db7f commit 7cb242cCopy full SHA for 7cb242c
1 file changed
ruby/lib/okapi.rb
@@ -61,7 +61,7 @@ def self.load_native_library
61
full_path = File.expand_path(File.join(library_path, library_name)) unless library_path.nil?
62
begin
63
ffi_lib full_path
64
- rescue
+ rescue LoadError
65
# Get the environment variable RUBY_DLL_PATH on all platforms as a failsafe, MacOS system integrity protection, I'm looking at you.
66
full_path = File.expand_path(File.join(ENV['RUBY_DLL_PATH'], library_name))
67
0 commit comments