summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/find_executable.rb2
1 files changed, 2 insertions, 0 deletions
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"]]