ruby-changes:54579
From: nobu <ko1@a...>
Date: Sat, 12 Jan 2019 13:53:15 +0900 (JST)
Subject: [ruby-changes:54579] nobu:r66794 (trunk): RbConfig::CONFIG never had "exeext"
nobu 2019-01-12 13:53:09 +0900 (Sat, 12 Jan 2019) New Revision: 66794 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66794 Log: RbConfig::CONFIG never had "exeext" Modified files: trunk/spec/mspec/lib/mspec/helpers/ruby_exe.rb Index: spec/mspec/lib/mspec/helpers/ruby_exe.rb =================================================================== --- spec/mspec/lib/mspec/helpers/ruby_exe.rb (revision 66793) +++ spec/mspec/lib/mspec/helpers/ruby_exe.rb (revision 66794) @@ -101,12 +101,12 @@ def ruby_exe_options(option) https://github.com/ruby/ruby/blob/trunk/spec/mspec/lib/mspec/helpers/ruby_exe.rb#L101 end when :name require 'rbconfig' - bin = RUBY_ENGINE + (RbConfig::CONFIG['EXEEXT'] || RbConfig::CONFIG['exeext'] || '') + bin = RUBY_ENGINE + (RbConfig::CONFIG['EXEEXT'] || '') File.join(".", bin) when :install_name require 'rbconfig' bin = RbConfig::CONFIG["RUBY_INSTALL_NAME"] || RbConfig::CONFIG["ruby_install_name"] - bin << (RbConfig::CONFIG['EXEEXT'] || RbConfig::CONFIG['exeext'] || '') + bin << (RbConfig::CONFIG['EXEEXT'] || '') File.join(RbConfig::CONFIG['bindir'], bin) end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/