mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
188 B
Text
13 lines
188 B
Text
|
#!/usr/bin/env ruby
|
||
|
|
||
|
begin
|
||
|
gem 'rdoc'
|
||
|
rescue NameError => e # --disable-gems
|
||
|
raise unless e.name == :gem
|
||
|
rescue Gem::LoadError
|
||
|
end
|
||
|
|
||
|
require 'rdoc/ri/driver'
|
||
|
|
||
|
RDoc::RI::Driver.run ARGV
|