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