mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fallback to load version constant for ruby core repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7d9109f800
commit
d59fc41fba
5 changed files with 25 additions and 5 deletions
|
@ -1,4 +1,8 @@
|
|||
require_relative "logger"
|
||||
begin
|
||||
require_relative "lib/logger"
|
||||
rescue LoadError
|
||||
require_relative "logger"
|
||||
end
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "logger"
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
require_relative "prime"
|
||||
begin
|
||||
require_relative "lib/prime"
|
||||
rescue LoadError
|
||||
require_relative "prime"
|
||||
end
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "prime"
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
require_relative "rexml"
|
||||
begin
|
||||
require_relative "lib/rexml/rexml"
|
||||
rescue LoadError
|
||||
require_relative "rexml"
|
||||
end
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "rexml"
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
require_relative "rss"
|
||||
begin
|
||||
require_relative "lib/rss"
|
||||
rescue LoadError
|
||||
require_relative "rss"
|
||||
end
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "rss"
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
require_relative 'version'
|
||||
begin
|
||||
require_relative 'lib/webrick/version'
|
||||
rescue LoadError
|
||||
require_relative 'version'
|
||||
end
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "webrick"
|
||||
|
|
Loading…
Reference in a new issue