aboutsummaryrefslogtreecommitdiffstats
path: root/railties/railties.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'railties/railties.gemspec')
-rw-r--r--railties/railties.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/railties.gemspec b/railties/railties.gemspec
index 76de2b4639..2df303750c 100644
--- a/railties/railties.gemspec
+++ b/railties/railties.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