From 4cd4344f13b20e07fb1f87bbcb92545522048edc Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 8 Apr 2023 14:47:01 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E3=80=8Clib/process=5Fshared?= =?UTF-8?q?/posix/libc.rb=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix File.exists? --- lib/process_shared/posix/libc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)