diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 0f089b8ae1..2356a031b3 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -47,7 +47,7 @@ module Homebrew def check_style_impl(files, output_type, options = {}) fix = options[:fix] - Homebrew.install_gem_setup_path! "rubocop", "0.39" + Homebrew.install_gem_setup_path! "rubocop", "0.40" args = %W[ --force-exclusion