diff options
author | Stefan Penner <stefan.penner@gmail.com> | 2010-03-06 13:30:25 -0600 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-06 21:33:28 -0800 |
commit | 4bc2cbc3cfa231b3dea0dce38a6fa2723c7ed94d (patch) | |
tree | d64d907c52e4194b3e72f2b24f052a75c8e97a44 | |
parent | 3789539916bcfbf82ee01f9aa35fca9f32049ea8 (diff) | |
download | rails-4bc2cbc3cfa231b3dea0dce38a6fa2723c7ed94d.tar.gz rails-4bc2cbc3cfa231b3dea0dce38a6fa2723c7ed94d.tar.bz2 rails-4bc2cbc3cfa231b3dea0dce38a6fa2723c7ed94d.zip |
Load RAILS_VERSION relative to the gemspec file.
-rw-r--r-- | actionmailer/actionmailer.gemspec | 2 | ||||
-rw-r--r-- | actionpack/actionpack.gemspec | 2 | ||||
-rw-r--r-- | activemodel/activemodel.gemspec | 2 | ||||
-rw-r--r-- | activerecord/activerecord.gemspec | 2 | ||||
-rw-r--r-- | activeresource/activeresource.gemspec | 2 | ||||
-rw-r--r-- | activesupport/activesupport.gemspec | 2 | ||||
-rw-r--r-- | rails.gemspec | 2 | ||||
-rw-r--r-- | railties/railties.gemspec | 2 |
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 |