Skip to content

Commit

Permalink
Merge pull request rails#43452 from missy-davies/fix-rubocop-command
Browse files Browse the repository at this point in the history
Update rubocop example command to include 'bundle exec'
  • Loading branch information
gmcgibbon authored Oct 13, 2021
2 parents 4bb3ace + c43ca71 commit c5a00c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/contributing_to_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ The above are guidelines - please use your best judgment in using them.
Additionally, we have [RuboCop](https://www.rubocop.org/) rules defined to codify some of our coding conventions. You can run RuboCop locally against the file that you have modified before submitting a pull request:

```bash
$ rubocop actionpack/lib/action_controller/metal/strong_parameters.rb
$ bundle exec rubocop actionpack/lib/action_controller/metal/strong_parameters.rb
Inspecting 1 file
.

Expand Down

0 comments on commit c5a00c3

Please sign in to comment.