1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Preserve ri compatibility with 1.8

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2008-02-14 22:38:20 +00:00
parent 4804658649
commit ab3e8e6143
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Feb 15 07:37:40 2008 Eric Hodel <drbrain@segment7.net>
* lib/rdoc/ri/paths.rb: Preserve compatibility with 1.8.
Fri Feb 15 02:42:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (ftruncate): check if available.

View file

@ -43,7 +43,8 @@ module RDoc::RI::Paths
PATH = [ SYSDIR, SITEDIR, HOMEDIR ].find_all {|p| p && File.directory?(p)}
begin
require 'rubygems' unless defined?(Gem) and Gem::Enable
require 'rubygems' unless defined?(Gem) and defined?(Gem::Enable) and
Gem::Enable
# HACK dup'd from Gem.latest_partials and friends
all_paths = []