parent
857bb2ae85
commit
4cd4344f13
|
@ -28,7 +28,7 @@ module ProcessShared
|
||||||
helper = 'process_shared/posix/helper.' + suffix
|
helper = 'process_shared/posix/helper.' + suffix
|
||||||
fallback_path = File.expand_path(File.dirname(__FILE__))
|
fallback_path = File.expand_path(File.dirname(__FILE__))
|
||||||
path = $LOAD_PATH.find(fallback_path) do |path|
|
path = $LOAD_PATH.find(fallback_path) do |path|
|
||||||
File.exists?(File.join(path, helper))
|
File.exist?(File.join(path, helper))
|
||||||
end
|
end
|
||||||
|
|
||||||
if defined?(Truffle)
|
if defined?(Truffle)
|
||||||
|
|
Loading…
Reference in New Issue