diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-27 15:08:47 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-27 15:08:47 -0300 |
commit | 8acf0cc3829b43b7dd86243e65bd7978b753d283 (patch) | |
tree | 203a77ced2c11e489be73fe48bd4d3435c6a59bf /railties | |
parent | 4a7bf07f7e88faf52ce3a5abc834d72fce91e2f2 (diff) | |
parent | ac8356eb22a074f59d7af773a023de6d9a738f95 (diff) | |
download | rails-8acf0cc3829b43b7dd86243e65bd7978b753d283.tar.gz rails-8acf0cc3829b43b7dd86243e65bd7978b753d283.tar.bz2 rails-8acf0cc3829b43b7dd86243e65bd7978b753d283.zip |
Merge pull request #20319 from kassio/master
Remove web-console and spring from test group on default Gemfile.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index c11bb58bfa..29203b9c37 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -21,11 +21,13 @@ source 'https://rubygems.org' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development -group :development, :test do <% if RUBY_ENGINE == 'ruby' -%> +group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug' +end +group :development do # Access an IRB console on exception pages or by using <%%= console %> in views <%- if options.dev? || options.edge? -%> gem 'web-console', github: "rails/web-console" @@ -36,8 +38,8 @@ group :development, :test do # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' <% end -%> -<% end -%> end +<% end -%> <% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince|java/) -%> # Windows does not include zoneinfo files, so bundle the tzinfo-data gem |