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

Try to load version file of github repository at first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2018-07-31 12:56:17 +00:00
parent cf855124d6
commit ca32fe1673
8 changed files with 48 additions and 8 deletions

View file

@ -1,4 +1,10 @@
require_relative "e2mmap/version"
begin
require_relative "lib/e2mmap/version"
rescue LoadError
# for Ruby core repository
require_relative "e2mmap/version"
end
Gem::Specification.new do |spec|
spec.name = "e2mmap"

View file

@ -1,4 +1,9 @@
require_relative "../forwardable"
begin
require_relative "lib/forwardable"
rescue LoadError
# for Ruby core repository
require_relative "../forwardable"
end
Gem::Specification.new do |spec|
spec.name = "forwardable"

View file

@ -1,4 +1,9 @@
require_relative "version"
begin
require_relative "lib/irb/version"
rescue LoadError
# for Ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "irb"

View file

@ -1,4 +1,9 @@
require_relative "mutex_m"
begin
require_relative "lib/mutex_m"
rescue LoadError
# for Ruby core repository
require_relative "mutex_m"
end
Gem::Specification.new do |spec|
spec.name = "mutex_m"

View file

@ -1,4 +1,9 @@
require_relative "version"
begin
require_relative "lib/shell/version"
rescue LoadError
# for Ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "shell"

View file

@ -1,4 +1,9 @@
require_relative "sync"
begin
require_relative "lib/sync"
rescue LoadError
# for Ruby core repository
require_relative "sync"
end
Gem::Specification.new do |spec|
spec.name = "sync"

View file

@ -1,4 +1,8 @@
require_relative "version"
begin
require_relative "lib/thwait/version"
rescue LoadError
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "thwait"

View file

@ -1,4 +1,9 @@
require_relative "version"
begin
require_relative "lib/tracer/version"
rescue LoadError
# for Ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "tracer"