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,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"