Sha256: 918563cd5ba8c1a8acdfed56406a8f0725424200c820993ea64e57ae6862477c

Contents?: true

Size: 515 Bytes

Versions: 5

Compression:

Stored size: 515 Bytes

Contents

#!/usr/bin/env ruby
# -*- ruby -*-
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++

# Gem version of the 'ri' command.  Adds the gem-generated ri
# documents to the search path of ri.

require 'rdoc/ri/ri_driver'

begin
  require 'rubygems'
  Dir["#{Gem.path}/doc/*/ri"].each do |path|
    RI::Paths::PATH << path
  end
rescue LoadError
end 

ARGV.unshift('-T') if ENV['TERM'] =~ /dumb|emacs/
ri = RiDriver.new
ri.process_args

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubygems-update-0.9.0 bin/gemri
rubygems-update-0.9.2 bin/gemri
rubygems-update-0.9.1 bin/gemri
rubygems-update-0.9.4 bin/gemri
rubygems-update-0.9.3 bin/gemri