aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-03-30 00:05:30 +0100
committerXavier Noria <fxn@hashref.com>2013-03-30 00:10:52 +0100
commit2595611dc38d5d51df45325d818074d1da23c96f (patch)
treeba44b9bddd055f4a473367d14941c19712796ab5 /railties/lib/rails
parent84c0ac3b56e1e3d8dd6401e5cf49a4019acc1b32 (diff)
downloadrails-2595611dc38d5d51df45325d818074d1da23c96f.tar.gz
rails-2595611dc38d5d51df45325d818074d1da23c96f.tar.bz2
rails-2595611dc38d5d51df45325d818074d1da23c96f.zip
rdoc is no longer a gem dependency, sdoc becomes a runtime dependency
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile
index f6bd107eba..b3883a94fc 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -9,6 +9,11 @@ source 'https://rubygems.org'
<%= assets_gemfile_entry %>
<%= javascript_gemfile_entry -%>
+group :doc do
+ # bundle exec rake doc:rails generates the API under doc/api.
+ gem 'sdoc'
+end
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.0.1'