Skip to content

Commit

Permalink
Update rubocop example command to include 'bundle exec'
Browse files Browse the repository at this point in the history
  • Loading branch information
Missy Davies committed Oct 13, 2021
1 parent 430a851 commit c43ca71
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 c43ca71

Please sign in to comment.