aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2010-02-05 18:45:26 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2010-02-05 18:45:26 -0800
commitc76df7a2d5b630adf52f89af01fe7fe8f097d199 (patch)
tree139327bc18283ff09a38b8bc38ba5de3cc503a3c /railties/lib/generators
parent33a90f5079617f0b3422d24ef72e6c4d88552427 (diff)
downloadrails-c76df7a2d5b630adf52f89af01fe7fe8f097d199.tar.gz
rails-c76df7a2d5b630adf52f89af01fe7fe8f097d199.tar.bz2
rails-c76df7a2d5b630adf52f89af01fe7fe8f097d199.zip
Cleanup comments
Diffstat (limited to 'railties/lib/generators')
-rw-r--r--railties/lib/generators/rails/app/templates/Gemfile11
1 files changed, 3 insertions, 8 deletions
diff --git a/railties/lib/generators/rails/app/templates/Gemfile b/railties/lib/generators/rails/app/templates/Gemfile
index 3148269b6d..f89dbe1e63 100644
--- a/railties/lib/generators/rails/app/templates/Gemfile
+++ b/railties/lib/generators/rails/app/templates/Gemfile
@@ -1,4 +1,3 @@
-# Edit this Gemfile to bundle your application's dependencies.
source 'http://gemcutter.org'
<%- if options.dev? -%>
@@ -8,25 +7,21 @@ gem "rails", :git => "git://github.com/rails/rails.git"
<%- else -%>
gem "rails", "<%= Rails::VERSION::STRING %>"
-# Bundle edge Rails instead
+# Bundle edge Rails instead:
# gem "rails", :git => "git://github.com/rails/rails.git"
<%- end -%>
<% unless options[:skip_activerecord] -%>
-<% if options[:database] == 'sqlite3' -%>
-# ActiveRecord requires a database adapter. By default,
-# Rails has selected sqlite3.
-<% end -%>
gem "<%= gem_for_database %>"<% if require_for_database %>, :require => "<%= require_for_database %>"<% end %>
<% end -%>
-# Bundle the gems you use:
+# Bundle the extra gems:
# gem "bj"
# gem "hpricot", "0.6"
# gem "sqlite3-ruby", :require => "sqlite3"
# gem "aws-s3", :require => "aws/s3"
-# Bundle gems used only in certain environments:
+# Bundle gems for certain environments:
# gem "rspec", :group => :test
# group :test do
# gem "webrat"