From a09c3c6fe1f24e5956b43157e6e40dfe4f986bed Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 17 Dec 2020 14:37:45 +0900 Subject: [PATCH] expand VERSION path for ruby repository. --- ext/json/json.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec index 13196dfaee..d5f0a4de1d 100644 --- a/ext/json/json.gemspec +++ b/ext/json/json.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = "json" - s.version = File.read('VERSION').chomp + s.version = File.read(File.expand_path('../VERSION', __FILE__)).chomp s.summary = "JSON Implementation for Ruby" s.description = "This is a JSON implementation as a Ruby extension in C."