From 323acd263aff3cc29786a55d4604f240a9cbab46 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 4 Jun 2022 14:39:07 +0900 Subject: [ruby/rdoc] Stop checking if pager command found `IO.popen` does that job. https://github.com/ruby/rdoc/commit/3bbbc5ac84 --- lib/rdoc/ri/driver.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 679cfd399c..f7a7d84205 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1521,10 +1521,6 @@ or the PAGER environment variable. pagers.compact.uniq.each do |pager| next unless pager - pager_cmd = pager.split(' ').first - - next unless in_path? pager_cmd - if jruby then case io = find_pager_jruby(pager) when nil then break -- cgit v1.2.3