From 1b31d09edd94a1bad3fa8e987490d82e7088ebad Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 5 Jan 2004 21:48:16 +0000 Subject: Add RDoc to build. Add --ri-system to RDoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bin/ri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ri') diff --git a/bin/ri b/bin/ri index 498850027d..49d8849974 100755 --- a/bin/ri +++ b/bin/ri @@ -28,7 +28,7 @@ class RiDisplay def initialize @options = RI::Options.instance @options.parse - paths = RI::Paths::PATH + paths = @options.paths || RI::Paths::PATH if paths.empty? $stderr.puts "No ri documentation found in:" [ RI::Paths::SYSDIR, RI::Paths::SITEDIR, RI::Paths::HOMEDIR].each do |d| -- cgit v1.2.3