#NEWLINE# def _brew_cmd( env ) : #NEWLINE# #INDENT# 'Retrieve brew command for installing homebrew packages.\n    ' #NEWLINE# cmd = find_cmd ( env , 'brew' , '--version' ) #NEWLINE# if ( cmd is None ) : #NEWLINE# #INDENT# raise ValueError ( 'Did not find working installation of Linuxbrew/Homebrew. Please check if you have ruby available.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return cmd