aboutsummaryrefslogtreecommitdiffstats
path: root/rails.gemspec
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2010-03-11 22:05:15 +1100
committerMikel Lindsaar <raasdnil@gmail.com>2010-03-11 22:05:15 +1100
commitf5774e3e3f70a3acfa559b9ff889e9417fb71d4b (patch)
treee738112994d40d6c3792065da80bddfa7439467b /rails.gemspec
parentcefe723e285f20d1f2a33f67da03348568f7e0b0 (diff)
parent073852dff0b48296a9a184f94e722183334f3c4c (diff)
downloadrails-f5774e3e3f70a3acfa559b9ff889e9417fb71d4b.tar.gz
rails-f5774e3e3f70a3acfa559b9ff889e9417fb71d4b.tar.bz2
rails-f5774e3e3f70a3acfa559b9ff889e9417fb71d4b.zip
Merge branch 'master' of git://github.com/rails/rails
Diffstat (limited to 'rails.gemspec')
-rw-r--r--rails.gemspec18
1 files changed, 9 insertions, 9 deletions
diff --git a/rails.gemspec b/rails.gemspec
index 0cd4540ec3..8b9a374e25 100644
--- a/rails.gemspec
+++ b/rails.gemspec
@@ -1,13 +1,13 @@
-$:.unshift "railties/lib"
-require "rails/version"
+version = File.read(File.expand_path("../RAILS_VERSION",__FILE__)).strip
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'rails'
- s.version = Rails::VERSION::STRING
+ s.version = version
s.summary = 'Full-stack web application framework.'
s.description = 'Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.'
s.required_ruby_version = '>= 1.8.7'
+ s.required_rubygems_version = ">= 1.3.6"
s.author = 'David Heinemeier Hansson'
s.email = 'david@loudthinking.com'
@@ -17,11 +17,11 @@ Gem::Specification.new do |s|
s.files = []
s.require_path = []
- s.add_dependency('activesupport', "= #{Rails::VERSION::STRING}")
- s.add_dependency('actionpack', "= #{Rails::VERSION::STRING}")
- s.add_dependency('activerecord', "= #{Rails::VERSION::STRING}")
- s.add_dependency('activeresource', "= #{Rails::VERSION::STRING}")
- s.add_dependency('actionmailer', "= #{Rails::VERSION::STRING}")
- s.add_dependency('railties', "= #{Rails::VERSION::STRING}")
+ s.add_dependency('activesupport', version)
+ s.add_dependency('actionpack', version)
+ s.add_dependency('activerecord', version)
+ s.add_dependency('activeresource', version)
+ s.add_dependency('actionmailer', version)
+ s.add_dependency('railties', version)
s.add_dependency('bundler', '>= 0.9.8')
end