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

Fixed install error with rdoc.gemspec

"lib/rdoc" is only workds on rdoc repository structure.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2017-09-12 05:19:20 +00:00
parent 997f230c29
commit c08f7b8088

View file

@ -1,4 +1,10 @@
require_relative "lib/rdoc"
# -*- encoding: utf-8 -*-
begin
require_relative "lib/rdoc"
rescue LoadError
# for Ruby repository
require_relative "../rdoc"
end
Gem::Specification.new do |s|
s.name = "rdoc"