diff options
| author | Martin Afanasjew | 2016-01-06 08:41:11 +0100 |
|---|---|---|
| committer | Martin Afanasjew | 2016-01-06 21:59:33 +0100 |
| commit | 319ea4273e61944b41f033194496cdf6df9fe288 (patch) | |
| tree | d25ef77359cd83669c80470bdabdd8e0f3587f0e /Library/Homebrew/cmd | |
| parent | 2c2f5ade6a20a8dde02d86e3e85b8e026a17589d (diff) | |
| download | brew-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.rb | 3 |
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/* |
