mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:08 -05:00
Load RAILS_VERSION relative to the gemspec file.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user