summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-09 02:31:05 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-09 02:31:05 +0000
commit9db5a7f82e711fa8dbf39462cc3db177ffec205f (patch)
tree109473927c9066ff823daeefbba1c614f540358a /test
parentb10058ae3656b4c7b76833c01730a141cf45c6c0 (diff)
require "rbconfig" to use RbConfig
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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"]]