diff options
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/generators/rails/app/templates/Gemfile | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/railties/lib/generators/rails/app/templates/Gemfile b/railties/lib/generators/rails/app/templates/Gemfile index f89dbe1e63..f4bce8646d 100644 --- a/railties/lib/generators/rails/app/templates/Gemfile +++ b/railties/lib/generators/rails/app/templates/Gemfile @@ -1,28 +1,34 @@ source 'http://gemcutter.org' <%- if options.dev? -%> -gem "rails", :path => "<%= Rails::Generators::RAILS_DEV_PATH %>" +gem 'rails', :path => '<%= Rails::Generators::RAILS_DEV_PATH %>' <%- elsif options.edge? -%> -gem "rails", :git => "git://github.com/rails/rails.git" +gem 'rails', :git => 'git://github.com/rails/rails.git' <%- else -%> -gem "rails", "<%= Rails::VERSION::STRING %>" +gem 'rails', '<%= Rails::VERSION::STRING %>' # Bundle edge Rails instead: -# gem "rails", :git => "git://github.com/rails/rails.git" +# gem 'rails', :git => 'git://github.com/rails/rails.git' <%- end -%> <% unless options[:skip_activerecord] -%> -gem "<%= gem_for_database %>"<% if require_for_database %>, :require => "<%= require_for_database %>"<% end %> +gem '<%= gem_for_database %>'<% if require_for_database %>, :require => '<%= require_for_database %>'<% end %> <% end -%> +# Use mongrel as the web server +# gem 'mongrel' + +# Deploy with Capistrano +# gem 'capistrano' + # Bundle the extra gems: -# gem "bj" -# gem "hpricot", "0.6" -# gem "sqlite3-ruby", :require => "sqlite3" -# gem "aws-s3", :require => "aws/s3" +# gem 'bj' +# gem 'hpricot', '0.6' +# gem 'sqlite3-ruby', :require => 'sqlite3' +# gem 'aws-s3', :require => 'aws/s3' # Bundle gems for certain environments: -# gem "rspec", :group => :test +# gem 'rspec', :group => :test # group :test do -# gem "webrat" +# gem 'webrat' # end |