diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rdoc | 7 | ||||
-rwxr-xr-x | bin/ri | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -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 @@ -1,5 +1,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 |