From ed93a37bd53c156d611476e29bbea02473e508ca Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 5 Aug 2011 21:21:55 +0000 Subject: * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections. Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references to Object. Fixes spacing when class comments are merged in ri. Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds :doc: and :nodoc: to allow hiding of implementation details in ruby. Makes `rdoc` and `ri` gem-aware. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bin/rdoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bin/rdoc') diff --git a/bin/rdoc b/bin/rdoc index 8fafd01b0f..20d866c220 100755 --- a/bin/rdoc +++ b/bin/rdoc @@ -5,8 +5,13 @@ # # Copyright (c) 2003 Dave Thomas # Released under the same terms as Ruby -# -# $Revision$ + +begin + gem 'rdoc' +rescue NameError => e # --disable-gems + raise unless e.name == :gem +rescue Gem::LoadError +end require 'rdoc/rdoc' -- cgit v1.2.3