summaryrefslogtreecommitdiff
path: root/jni/ruby/bin/ri
blob: 7fbed0c09900f5ba6a08af34ce7fae41e0b7e299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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