summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-17 14:37:45 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-17 14:37:45 +0900
commita09c3c6fe1f24e5956b43157e6e40dfe4f986bed (patch)
tree0ac55d6a6b720bd43bc4a917aecc0ac18f625bac /ext
parent46ea74297eb3e46e19fb692a8d8eef817b93a49b (diff)
expand VERSION path for ruby repository.
Diffstat (limited to 'ext')
-rw-r--r--ext/json/json.gemspec2
1 files changed, 1 insertions, 1 deletions
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."