diff --git a/test/ruby/find_executable.rb b/test/ruby/find_executable.rb index 86595342a4..4ba9a0533e 100644 --- a/test/ruby/find_executable.rb +++ b/test/ruby/find_executable.rb @@ -1,3 +1,5 @@ +require "rbconfig" + module EnvUtil def find_executable(cmd, *args) exts = RbConfig::CONFIG["EXECUTABLE_EXTS"].split | [RbConfig::CONFIG["EXEEXT"]]