Load RAILS_VERSION relative to the gemspec file.
This commit is contained in:
parent
3789539916
commit
4bc2cbc3cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue