aboutsummaryrefslogtreecommitdiffstats
path: root/rails.gemspec
blob: d7a1e10459f77fc67c57525875971fc26216344c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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     = 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.9.3'
  s.required_rubygems_version = '>= 1.8.11'

  s.license = 'MIT'

  s.author   = 'David Heinemeier Hansson'
  s.email    = 'david@loudthinking.com'
  s.homepage = 'http://www.rubyonrails.org'

  s.bindir      = 'bin'
  s.executables = []
  s.files       = Dir['guides/**/*'].select { |path| File.file? path }

  s.add_dependency 'activesupport', version
  s.add_dependency 'actionpack',    version
  s.add_dependency 'activerecord',  version
  s.add_dependency 'actionmailer',  version
  s.add_dependency 'railties',      version

  s.add_dependency 'bundler',         '>= 1.2.2', '< 2.0'
  s.add_dependency 'sprockets-rails', '~> 2.0.0.rc1'
end