2017-05-15 10:17:28 -04:00
version = File . read ( File . expand_path ( " RAILS_VERSION " , __dir__ ) ) . strip
2010-03-01 23:36:54 -05:00
2009-08-31 20:20:44 -04:00
Gem :: Specification . new do | s |
2010-02-03 20:59:39 -05:00
s . platform = Gem :: Platform :: RUBY
2016-08-06 13:23:48 -04:00
s . name = " rails "
2010-03-04 22:41:39 -05:00
s . version = version
2016-08-06 13:23:48 -04: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-01 16:46:04 -04:00
2016-08-06 13:23:48 -04:00
s . required_ruby_version = " >= 2.2.2 "
s . required_rubygems_version = " >= 1.8.11 "
2012-11-08 14:51:18 -05:00
2016-08-06 13:23:48 -04:00
s . license = " MIT "
2010-02-03 20:59:39 -05:00
2016-08-06 13:23:48 -04:00
s . author = " David Heinemeier Hansson "
s . email = " david@loudthinking.com "
s . homepage = " http://rubyonrails.org "
2010-04-12 18:09:40 -04:00
2016-08-06 13:23:48 -04:00
s . files = [ " README.md " ]
2009-08-31 20:20:44 -04:00
2016-08-06 13:23:48 -04:00
s . add_dependency " activesupport " , version
s . add_dependency " actionpack " , version
s . add_dependency " actionview " , version
s . add_dependency " activemodel " , version
s . add_dependency " activerecord " , version
s . add_dependency " actionmailer " , version
s . add_dependency " activejob " , version
s . add_dependency " actioncable " , version
s . add_dependency " railties " , version
2012-11-08 14:51:18 -05:00
2016-08-06 13:23:48 -04:00
s . add_dependency " bundler " , " >= 1.3.0 " , " < 2.0 "
s . add_dependency " sprockets-rails " , " >= 2.0.0 "
2009-08-31 20:20:44 -04:00
end