diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-06-13 00:29:45 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-06-13 00:32:20 +0900 |
commit | 180802906190501e4eb9b9423adfb6116ceb334b (patch) | |
tree | 03a1fa0f4e8561528c69b4c7673684dc4f5e9072 /test/irb/test_completion.rb | |
parent | 88411d350e9e3eb6425375238a20af9b6aae28ae (diff) | |
download | ruby-180802906190501e4eb9b9423adfb6116ceb334b.tar.gz |
make sync-default-gems GEM=irb
Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227
Mostly backport changes.
Diffstat (limited to 'test/irb/test_completion.rb')
-rw-r--r-- | test/irb/test_completion.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb index 83df9c1c47..204b321ce1 100644 --- a/test/irb/test_completion.rb +++ b/test/irb/test_completion.rb @@ -7,7 +7,8 @@ module TestIRB begin require "irb/completion" bug5938 = '[ruby-core:42244]' - cmds = %W[-W0 -rirb -rirb/completion -e IRB.setup(__FILE__) + bundle_exec = ENV.key?('BUNDLE_GEMFILE') ? ['-rbundler/setup'] : [] + cmds = bundle_exec + %W[-W0 -rirb -rirb/completion -e IRB.setup(__FILE__) -e IRB.conf[:MAIN_CONTEXT]=IRB::Irb.new.context -e module\sFoo;def\sself.name;//;end;end -e IRB::InputCompletor::CompletionProc.call("[1].first.") |