mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fallback to load version file in ruby core repository
This commit is contained in:
parent
a326b4b0b8
commit
3e12b65861
1 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue