ruby-changes:34679
From: naruse <ko1@a...>
Date: Wed, 9 Jul 2014 11:31:19 +0900 (JST)
Subject: [ruby-changes:34679] naruse:r46762 (trunk): require "rbconfig" to use RbConfig
naruse 2014-07-09 11:31:05 +0900 (Wed, 09 Jul 2014) New Revision: 46762 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46762 Log: require "rbconfig" to use RbConfig Modified files: trunk/test/ruby/find_executable.rb Index: test/ruby/find_executable.rb =================================================================== --- test/ruby/find_executable.rb (revision 46761) +++ test/ruby/find_executable.rb (revision 46762) @@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/ruby/find_executable.rb#L1 +require "rbconfig" + module EnvUtil def find_executable(cmd, *args) exts = RbConfig::CONFIG["EXECUTABLE_EXTS"].split | [RbConfig::CONFIG["EXEEXT"]] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/