aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMartin Afanasjew2016-01-06 08:41:11 +0100
committerMartin Afanasjew2016-01-06 21:59:33 +0100
commit319ea4273e61944b41f033194496cdf6df9fe288 (patch)
treed25ef77359cd83669c80470bdabdd8e0f3587f0e /Library/Homebrew/cmd
parent2c2f5ade6a20a8dde02d86e3e85b8e026a17589d (diff)
downloadbrew-319ea4273e61944b41f033194496cdf6df9fe288.tar.bz2
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 <martin@afanasjew.de>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/list.rb3
1 files changed, 3 insertions, 0 deletions
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/*