aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionmailer/actionmailer.gemspec2
-rw-r--r--actionpack/actionpack.gemspec2
-rw-r--r--activemodel/activemodel.gemspec2
-rw-r--r--activerecord/activerecord.gemspec2
-rw-r--r--activeresource/activeresource.gemspec2
-rw-r--r--activesupport/activesupport.gemspec2
-rw-r--r--rails.gemspec2
-rw-r--r--railties/railties.gemspec2
8 files changed, 8 insertions, 8 deletions
diff --git a/actionmailer/actionmailer.gemspec b/actionmailer/actionmailer.gemspec
index 3c9ffd1749..a7a2599105 100644
--- a/actionmailer/actionmailer.gemspec
+++ b/actionmailer/actionmailer.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
diff --git a/actionpack/actionpack.gemspec b/actionpack/actionpack.gemspec
index a50c55ed9a..790efc4ec5 100644
--- a/actionpack/actionpack.gemspec
+++ b/actionpack/actionpack.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
diff --git a/activemodel/activemodel.gemspec b/activemodel/activemodel.gemspec
index 395ee6a378..eb9ef7b7c0 100644
--- a/activemodel/activemodel.gemspec
+++ b/activemodel/activemodel.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
diff --git a/activerecord/activerecord.gemspec b/activerecord/activerecord.gemspec
index 08666f08e9..8c7f3f5f2f 100644
--- a/activerecord/activerecord.gemspec
+++ b/activerecord/activerecord.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
diff --git a/activeresource/activeresource.gemspec b/activeresource/activeresource.gemspec
index 001c8dc62a..3718bb4f2e 100644
--- a/activeresource/activeresource.gemspec
+++ b/activeresource/activeresource.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
diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec
index a4609789a6..3b5c7203b3 100644
--- a/activesupport/activesupport.gemspec
+++ b/activesupport/activesupport.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
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
diff --git a/railties/railties.gemspec b/railties/railties.gemspec
index c42ed9b891..b9d2739539 100644
--- a/railties/railties.gemspec
+++ b/railties/railties.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