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:
parent
997f230c29
commit
c08f7b8088
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
begin
|
||||||
require_relative "lib/rdoc"
|
require_relative "lib/rdoc"
|
||||||
|
rescue LoadError
|
||||||
|
# for Ruby repository
|
||||||
|
require_relative "../rdoc"
|
||||||
|
end
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "rdoc"
|
s.name = "rdoc"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue