summaryrefslogtreecommitdiff
path: root/bin/rdoc
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-01 18:57:36 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-01 18:57:36 +0000
commit8e627bc1f742455bca39b8424fdcee07b678a1c8 (patch)
tree9aeac9b1720fb6489f0aa0e67801ad5d9329b312 /bin/rdoc
parente2c24e1616c2574af0436cea97a01435e1b28cc0 (diff)
* 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@32803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin/rdoc')
-rwxr-xr-xbin/rdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/rdoc b/bin/rdoc
index 8fafd01b0f..64601a819e 100755
--- a/bin/rdoc
+++ b/bin/rdoc
@@ -8,6 +8,13 @@
#
# $Revision$
+begin
+ gem 'rdoc'
+rescue NameError => e # --disable-gems
+ raise unless e.name == :gem
+rescue Gem::LoadError
+end
+
require 'rdoc/rdoc'
begin