summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-05 21:48:16 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-05 21:48:16 +0000
commit1b31d09edd94a1bad3fa8e987490d82e7088ebad (patch)
treef3d31658797f668e2a611820aa11eb1a50c0999f /bin
parent791f55ef987d523855ffdcae709c054cf897e148 (diff)
downloadruby-1b31d09edd94a1bad3fa8e987490d82e7088ebad.tar.gz
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ri2
1 files changed, 1 insertions, 1 deletions
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|