From a940d520703c133e964f13d2ec864a78972978b3 Mon Sep 17 00:00:00 2001 From: Jhen-Yung Hsu Date: Tue, 24 Dec 2024 15:04:42 +0800 Subject: [PATCH] KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306) Reviewers: Chia-Ping Tsai --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 7541f50f08daf..3a6b5a5afe1d9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -59,7 +59,7 @@ jdk_major = '17' jdk_full = '17-linux-x64' local_config_file = File.join(File.dirname(__FILE__), "Vagrantfile.local") -if File.exists?(local_config_file) then +if File.exist?(local_config_file) then eval(File.read(local_config_file), binding, "Vagrantfile.local") end