We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LoadError
1 parent 42635c4 commit fb4db7fCopy full SHA for fb4db7f
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