From c43ca717e5368deda8288539b0031708a2868d40 Mon Sep 17 00:00:00 2001 From: Missy Davies Date: Wed, 13 Oct 2021 14:17:13 -0400 Subject: [PATCH] Update rubocop example command to include 'bundle exec' --- guides/source/contributing_to_ruby_on_rails.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index d647a2cf9c..7c85929fbb 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -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 .