Sha256: efa151c4c45e1221c214bca63563e39a141adfdc3e33f4970093f365a787152f

Contents?: true

Size: 1.41 KB

Versions: 9

Compression:

Stored size: 1.41 KB

Contents

source "https://rubygems.org"

<% if options[:skip_gemspec] -%>
<%= '# ' if options.dev? || options.edge? -%>gem "rails", "~> <%= Rails::VERSION::STRING %>"
<% else -%>
# Declare your gem's dependencies in <%= name %>.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
<% end -%>

<% if options[:skip_gemspec] -%>
group :development do
  gem "<%= gem_for_database[0] %>"
end
<% else -%>
# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.
<% end -%>

<% if options.dev? || options.edge? -%>
# Your gem is dependent on dev or edge Rails. Once you can lock this
# dependency down to a specific version, move it to your gemspec.
<% max_width = gemfile_entries.map { |g| g.name.length }.max -%>
<% gemfile_entries.each do |gem| -%>
<% if gem.comment -%>

# <%= gem.comment %>
<% end -%>
<%= gem.commented_out ? '# ' : '' %>gem '<%= gem.name %>'<%= %(, '#{gem.version}') if gem.version -%>
<% if gem.options.any? -%>
,<%= gem.padding(max_width) %><%= gem.options.map { |k,v|
  "#{k}: #{v.inspect}" }.join(', ') %>
<% end -%>
<% end -%>

<% end -%>
<% unless defined?(JRUBY_VERSION) -%>
# To use debugger
# gem 'debugger'
<% end -%>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
railties-4.1.16 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.16.rc1 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.15 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.15.rc1 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.14.2 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.14.1 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.14 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.14.rc2 lib/rails/generators/rails/plugin/templates/Gemfile
railties-4.1.14.rc1 lib/rails/generators/rails/plugin/templates/Gemfile