diff options
Diffstat (limited to 'lib/rdoc/ri/driver.rb')
-rw-r--r-- | lib/rdoc/ri/driver.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 46b98e99b5..1f504a6ac7 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -356,7 +356,7 @@ or the PAGER environment variable. end end - argv = ENV['RI'].to_s.split.concat argv + argv = ENV['RI'].to_s.split(' ').concat argv opts.parse! argv @@ -1521,7 +1521,7 @@ or the PAGER environment variable. pagers.compact.uniq.each do |pager| next unless pager - pager_cmd = pager.split.first + pager_cmd = pager.split(' ').first next unless in_path? pager_cmd |