aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/Gemfile
blob: 2cc257fbd84c52a8241c91b617c8573f076b88e3 (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
32
33
# Edit this Gemfile to bundle your application's dependencies.
source 'http://gemcutter.org'

<%- if options.dev? -%>
gem "rails", :path => "<%= Rails::Generators::RAILS_DEV_PATH %>"
<%- elsif options.edge? -%>
gem "rails", :git => "git://github.com/rails/rails.git"
<%- else -%>
gem "rails", "<%= Rails::VERSION::STRING %>"

# 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:
# gem "bj"
# gem "hpricot", "0.6"
# gem "sqlite3-ruby", :require => "sqlite3"
# gem "aws-s3", :require => "aws/s3"

## Bundle gems used only in certain environments:
# gem "rspec", :group => :test
# group :test do
#   gem "webrat"
# end