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>
This commit is contained in:
Martin Afanasjew 2016-01-06 08:41:11 +01:00
parent 2c2f5ade6a
commit 319ea4273e

View File

@ -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/*