diff --git a/lib/process_shared/posix/libc.rb b/lib/process_shared/posix/libc.rb index d82e63b..9f39d8e 100644 --- a/lib/process_shared/posix/libc.rb +++ b/lib/process_shared/posix/libc.rb @@ -28,7 +28,7 @@ module ProcessShared helper = 'process_shared/posix/helper.' + suffix fallback_path = File.expand_path(File.dirname(__FILE__)) path = $LOAD_PATH.find(fallback_path) do |path| - File.exists?(File.join(path, helper)) + File.exist?(File.join(path, helper)) end if defined?(Truffle)