Skip to content

Commit a73cbbe

Browse files
authored
Merge pull request rails#50577 from andyw8/andyw8/move-to-dev-test-group
Ensure RuboCop and Brakeman are always avaiable in CI
2 parents 28a27d5 + 8702dd8 commit a73cbbe

File tree

1 file changed

+4
-4
lines changed
  • railties/lib/rails/generators/rails/app/templates

1 file changed

+4
-4
lines changed

railties/lib/rails/generators/rails/app/templates/Gemfile.tt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ gem "bootsnap", require: false
3636
group :development, :test do
3737
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
3838
gem "debug", platforms: %i[ mri <%= bundler_windows_platforms %> ]
39-
end
40-
<% end -%>
41-
42-
group :development do
4339
<%- unless options.skip_brakeman? -%>
4440
# Static analysis for security vulnerabilities [https://brakemanscanner.org/]
4541
gem "brakeman", require: false
@@ -50,6 +46,10 @@ group :development do
5046
gem "rubocop-rails-omakase", require: false
5147

5248
<%- end -%>
49+
end
50+
<% end -%>
51+
52+
group :development do
5353
<%- unless options.api? || options.skip_dev_gems? -%>
5454
# Use console on exceptions pages [https://github.com/rails/web-console]
5555
gem "web-console"

0 commit comments

Comments
 (0)