diff options
| author | Markus Reiter | 2017-04-28 12:42:17 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-04-30 21:11:28 +0200 |
| commit | 4d5d6a65e35f9a57139710c3dc547bfa51810630 (patch) | |
| tree | 5c1dd86b3bcac57d13749c8953ac18e432fbc7f7 /Library/Homebrew/utils.rb | |
| parent | 22f624b373d77ede5c15db6f62672bdd81e6c9da (diff) | |
| download | brew-4d5d6a65e35f9a57139710c3dc547bfa51810630.tar.bz2 | |
Rename `PATH#validate` to `PATH#existing`.
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 257d24784..83b8ba342 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -193,7 +193,7 @@ module Homebrew path = PATH.new(ENV["PATH"]) path.prepend(RUBY_BIN) if which("ruby") != RUBY_PATH path.prepend(Gem.bindir) - ENV["PATH"] = path.validate + ENV["PATH"] = path.existing if Gem::Specification.find_all_by_name(name, version).empty? ohai "Installing or updating '#{name}' gem" |
