summaryrefslogtreecommitdiff
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:38:51 +0900
commit1bd46c49c064fb0f30fe679b887bb4034b6af9f5 (patch)
treea823f4181f5de2619c854982047bb4e7c09eccbe
parent398ec004c666d330d03a0c2f7afa2868c553b1f6 (diff)
downloadjson-1bd46c49c064fb0f30fe679b887bb4034b6af9f5.tar.gz
expand VERSION path for ruby repository.
-rw-r--r--json.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.gemspec b/json.gemspec
index 13196df..d5f0a4d 100644
--- a/json.gemspec
+++ b/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."