diff options
author | Arun Agrawal <arunagw@gmail.com> | 2014-08-08 13:28:06 +0200 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2014-08-08 19:50:25 +0200 |
commit | 301b5fd52265298e1fe16a7914bc656c808d931e (patch) | |
tree | 689a181a2da16b786c104921a809c8bb8c5a8730 /railties/lib/rails | |
parent | 30529dc00f96777c325dff496930f560fb9d59e9 (diff) | |
download | rails-301b5fd52265298e1fe16a7914bc656c808d931e.tar.gz rails-301b5fd52265298e1fe16a7914bc656c808d931e.tar.bz2 rails-301b5fd52265298e1fe16a7914bc656c808d931e.zip |
Fixes test for Gemfile entry changes
Broken by fbe38c9e9d4fe9f82518e8ffc1d757459b0c5f1c
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/Gemfile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index d97be95e27..8b51fda359 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -29,7 +29,7 @@ group :development, :test do <%- else -%> gem 'byebug' <%- end -%> - + # Access an IRB console on exceptions page and /console in development gem 'web-console' <%- if spring_install? %> diff --git a/railties/lib/rails/generators/rails/plugin/templates/Gemfile b/railties/lib/rails/generators/rails/plugin/templates/Gemfile index 796587f316..35ad9fbf9e 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/Gemfile +++ b/railties/lib/rails/generators/rails/plugin/templates/Gemfile @@ -31,7 +31,7 @@ end <% 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| +, <%= gem.options.map { |k,v| "#{k}: #{v.inspect}" }.join(', ') %> <% end -%> <% end -%> |