1
0
Fork 0
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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-20 15:08:07 +00:00
parent cb5fdf4e92
commit e22b92dce4
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Fri Aug 21 00:08:01 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
Thu Aug 20 23:56:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.

View file

@ -52,8 +52,7 @@ module RDoc::RI::Paths
HOMEDIR = (File.expand_path("~/.#{rdoc}") rescue nil)
begin
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 = []