From 7533ad7b93de72d859fff4e0a403eac93bd32599 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 8 Feb 2022 13:47:34 +0900 Subject: [PATCH] Fixed path for ipaddr.rb --- ipaddr.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaddr.gemspec b/ipaddr.gemspec index d571112..1f4798e 100644 --- a/ipaddr.gemspec +++ b/ipaddr.gemspec @@ -8,7 +8,7 @@ if File.exist?(File.expand_path("ipaddr.gemspec")) file = File.expand_path("ipaddr.rb", lib) else # for ruby-core - file = File.expand_path("ipaddr.rb") + file = File.expand_path("../ipaddr.rb", __FILE__) end version = File.foreach(file).find do |line|