aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/activesupport.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/activesupport.gemspec')
-rw-r--r--activesupport/activesupport.gemspec5
1 files changed, 2 insertions, 3 deletions
diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec
index 89e8dca278..a4609789a6 100644
--- a/activesupport/activesupport.gemspec
+++ b/activesupport/activesupport.gemspec
@@ -1,10 +1,9 @@
-$:.unshift "lib"
-require "active_support/version"
+version = File.read("../RAILS_VERSION").strip
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'activesupport'
- s.version = ActiveSupport::VERSION::STRING
+ s.version = version
s.summary = 'A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.'
s.description = 'A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.'
s.required_ruby_version = '>= 1.8.7'