2012-11-09 03:51:18 +08:00
version = File . read ( File . expand_path ( '../RAILS_VERSION' , __FILE__ ) ) . strip
2010-03-02 12:36:54 +08:00
2009-09-01 08:20:44 +08:00
Gem :: Specification . new do | s |
2010-02-04 09:59:39 +08:00
s . platform = Gem :: Platform :: RUBY
s . name = 'rails'
2010-03-05 11:41:39 +08:00
s . version = version
2010-03-03 02:32:09 +08:00
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.'
2010-04-02 04:46:04 +08:00
2011-12-21 02:13:23 +08:00
s . required_ruby_version = '>= 1.9.3'
2012-11-09 03:51:18 +08:00
s . required_rubygems_version = '>= 1.8.11'
s . license = 'MIT'
2010-02-04 09:59:39 +08:00
2012-03-17 23:32:49 +08:00
s . author = 'David Heinemeier Hansson'
s . email = 'david@loudthinking.com'
s . homepage = 'http://www.rubyonrails.org'
2010-04-13 06:09:40 +08:00
2014-10-31 22:24:28 +08:00
s . files = [ 'README.md' ] + Dir [ 'guides/**/*' ] - Dir [ 'guides/output/**/*' ]
2009-09-01 08:20:44 +08:00
2012-11-09 03:51:18 +08:00
s . add_dependency 'activesupport' , version
s . add_dependency 'actionpack' , version
2012-06-01 00:21:56 +08:00
s . add_dependency 'actionview' , version
2013-10-02 22:40:17 +08:00
s . add_dependency 'activemodel' , version
2012-11-09 03:51:18 +08:00
s . add_dependency 'activerecord' , version
s . add_dependency 'actionmailer' , version
s . add_dependency 'railties' , version
2013-02-26 07:05:20 +08:00
s . add_dependency 'bundler' , '>= 1.3.0' , '< 2.0'
2014-04-05 03:30:41 +08:00
s . add_dependency 'sprockets-rails' , '~> 2.0'
2009-09-01 08:20:44 +08:00
end