mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
obsolete. reapplied r24599. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6a08bd9624
commit
5bdee08c1e
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
Fri Apr 2 13:57:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Fri Apr 2 13:59:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
|
||||
obsolete. reapplied r24599.
|
||||
|
||||
* lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.
|
||||
|
||||
|
|
|
@ -54,8 +54,7 @@ module RDoc::RI::Paths
|
|||
def self.gemdirs
|
||||
return @gemdirs if @gemdirs
|
||||
|
||||
require 'rubygems' unless defined?(Gem) and defined?(Gem::Enable) and
|
||||
Gem::Enable
|
||||
require 'rubygems' unless defined?(Gem)
|
||||
|
||||
# HACK dup'd from Gem.latest_partials and friends
|
||||
all_paths = []
|
||||
|
|
Loading…
Reference in a new issue