lib/ngt/ffi.rb in ngt-0.2.1 vs lib/ngt/ffi.rb in ngt-0.2.2
- old
+ new
@@ -3,11 +3,10 @@
extend ::FFI::Library
begin
ffi_lib Ngt.ffi_lib
rescue LoadError => e
- raise e if ENV["NGT_DEBUG"]
- raise LoadError, "Could not find NGT"
+ raise e
end
# https://github.com/yahoojapan/NGT/blob/master/lib/NGT/Capi.h
# keep same order