How do I get rid of this message?
$ brew cleanup You must use Bundler 2 or greater with this lockfile.
Note that this issue occurred after running
brew upgrade that also left some unstaged changes in the Homebrew repo (which I’ve since
cleaned per the instructions):
$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please dont worry or file an issue; just ignore this. Thanks! Warning: You have uncommitted modifications to Homebrew If this is a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. cd /usr/local/Homebrew/Library && git stash && git clean -d -f Homebrew (master %) $ git status On branch master Your branch is up to date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/codecov-0.1.10/ Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/codecov-0.1.13/ Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/codecov-0.1.14/ Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-rspec-1.30.0/ Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-rspec-1.30.1/ Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/url-0.3.2/ nothing added to commit but untracked files present (use "git add" to track) Homebrew (master %) $ git clean -d -f Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/codecov-0.1.10/lib/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/codecov-0.1.13/lib/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/codecov-0.1.14/lib/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-rspec-1.30.0/config/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-rspec-1.30.0/lib/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-rspec-1.30.1/config/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-rspec-1.30.1/lib/ Removing Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/url-0.3.2/lib/