diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-25 09:17:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-25 09:17:28 +0000 |
commit | 7722b3b67f764afd9c796c99b53dbfd54a36dcf2 (patch) | |
tree | cef1c9a008685cd899fd3ef19b1ca67bbd1f1ff0 /tool/runruby.rb | |
parent | be5b7f61307c6caaafb7a760b29f3c2b3dee9dfb (diff) | |
download | ruby-7722b3b67f764afd9c796c99b53dbfd54a36dcf2.tar.gz |
runruby.rb: follow r49740
* tool/runruby.rb: follow the change of RUBY_VERSION check in
rbconfig by r49740.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-x | tool/runruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb index 86b9327350..656aebe43b 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -47,7 +47,7 @@ abs_archdir = File.expand_path(archdir) $:.unshift(abs_archdir) config = File.read(conffile = File.join(abs_archdir, 'rbconfig.rb')) -config.sub!(/^(\s*)RUBY_VERSION\s*==.*(\sor\s*)$/, '\1true\2') +config.sub!(/^(\s*)RUBY_VERSION\s.*(\sor\s*)$/, '\1true\2') config = Module.new {module_eval(config, conffile)}::RbConfig::CONFIG ruby = File.join(archdir, config["RUBY_INSTALL_NAME"]+config['EXEEXT']) |