diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-31 12:56:17 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-31 12:56:17 +0000 |
commit | ca32fe167303becd98027afb42f6228b026f00a5 (patch) | |
tree | e47f306967336812e6c2d6b16a42b0856dcfe99a /lib/forwardable | |
parent | cf855124d64fbfda23375969c0e9947661140167 (diff) | |
download | ruby-ca32fe167303becd98027afb42f6228b026f00a5.tar.gz |
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
Diffstat (limited to 'lib/forwardable')
-rw-r--r-- | lib/forwardable/forwardable.gemspec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/forwardable/forwardable.gemspec b/lib/forwardable/forwardable.gemspec index df7eba66df..f90b82269d 100644 --- a/lib/forwardable/forwardable.gemspec +++ b/lib/forwardable/forwardable.gemspec @@ -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" |