Skip to content

Commit c43ca71

Browse files
author
Missy Davies
committed
Update rubocop example command to include 'bundle exec'
1 parent 430a851 commit c43ca71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/contributing_to_ruby_on_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ The above are guidelines - please use your best judgment in using them.
268268
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:
269269

270270
```bash
271-
$ rubocop actionpack/lib/action_controller/metal/strong_parameters.rb
271+
$ bundle exec rubocop actionpack/lib/action_controller/metal/strong_parameters.rb
272272
Inspecting 1 file
273273
.
274274

0 commit comments

Comments
 (0)