diff options
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 89a90bed2..4ad97c7d4 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -300,7 +300,7 @@ def which(cmd, path = ENV["PATH"]) end def which_all(cmd, path = ENV["PATH"]) - path.split(File::PATH_SEPARATOR).map do |p| + path.to_s.split(File::PATH_SEPARATOR).map do |p| begin pcmd = File.expand_path(cmd, p) rescue ArgumentError |
