ruby-changes:62630
From: aycabta <ko1@a...>
Date: Tue, 18 Aug 2020 20:08:05 +0900 (JST)
Subject: [ruby-changes:62630] 01b6c520f5 (master): [ruby/irb] Change the way the IRB is invoked as an external process
https://git.ruby-lang.org/ruby.git/commit/?id=01b6c520f5 From 01b6c520f5ee48aad7a0f3dfd690616d179e9e1f Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Tue, 18 Aug 2020 12:38:07 +0900 Subject: [ruby/irb] Change the way the IRB is invoked as an external process https://github.com/ruby/irb/commit/f4bcdf4375 diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb index 23242fa..61bd41c 100644 --- a/test/irb/test_history.rb +++ b/test/irb/test_history.rb @@ -117,8 +117,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_history.rb#L117 with_temp_stdio do |stdin, stdout| replace_stdio(stdin.path, stdout.path) do - bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : [] - cmds = %W[ruby] + bundle_exec + %W[-W0 -rirb -e 'IRB.start(__FILE__)'] + cmds = %W[ruby -Ilib:test -W0 -rirb -e 'IRB.start(__FILE__)'] yield(stdin, stdout) stdin.close system(cmds.join(' ')) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/