aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/activemodel.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/activemodel.gemspec')
-rw-r--r--activemodel/activemodel.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/activemodel.gemspec b/activemodel/activemodel.gemspec
index fd715f6ba9..43f1e09c77 100644
--- a/activemodel/activemodel.gemspec
+++ b/activemodel/activemodel.gemspec
@@ -1,4 +1,4 @@
-version = File.read(File.expand_path("../../RAILS_VERSION", __FILE__)).strip
+version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY