mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add RDoc to build. Add --ri-system to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
794e035046
commit
fbae4f97ee
7 changed files with 136 additions and 40 deletions
2
bin/ri
2
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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue