RuboCop is a Ruby code style checking and code formatting tool. It aims to enforce the community-driven Ruby Style Guide.
gem install rubocop -v 1.79.2 gem 'rubocop', '~> 1.79.2' To lock this gem at this specific version, update your Gemfile:
gem 'rubocop', '1.79.2' Then run:
bundle install Note: This is an older version. Consider upgrading to the latest version (1.81.6) for the newest features and security fixes.