From 319ea4273e61944b41f033194496cdf6df9fe288 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Wed, 6 Jan 2016 08:41:11 +0100 Subject: list: exclude Ruby from unbrewed Those are created by the `ruby` formula in core and various Ruby formulae from `homebrew/versions` and contain Gems and other stuff that is to be retained across updates. Treat it like Python in this regard. This avoids spurious output in `brew list --unbrewed` when a brewed `ruby` is used to, e.g., install Gems. Closes Homebrew/homebrew#47750. Signed-off-by: Martin Afanasjew --- Library/Homebrew/cmd/list.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 0ebe5f578..1896b74f1 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -49,6 +49,9 @@ module Homebrew lib/python[23].[0-9]/* lib/pypy/* lib/pypy3/* + lib/ruby/gems/[12].* + lib/ruby/site_ruby/[12].* + lib/ruby/vendor_ruby/[12].* share/pypy/* share/pypy3/* share/doc/homebrew/* -- cgit v1.2.3