зеркало из https://github.com/github/ruby.git
Fallback to load version file in ruby core repository
This commit is contained in:
Родитель
a326b4b0b8
Коммит
3e12b65861
|
@ -1,4 +1,8 @@
|
||||||
require_relative 'lib/net/imap/version'
|
begin
|
||||||
|
require_relative 'lib/net/imap/version'
|
||||||
|
rescue LoadError # Fallback to load version file in ruby core repository
|
||||||
|
require_relative "version"
|
||||||
|
end
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "net-imap"
|
spec.name = "net-imap"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче