diff options
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index af311ae01..08faea0e2 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -75,7 +75,7 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError def tool case type - when :python then 'pip' + when :python then 'easy_install' when :ruby, :jruby then 'rubygems' when :perl then 'cpan' end @@ -84,7 +84,7 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError def command_line case type when :python - "#{brew_pip}pip install" + "easy_install install" when :ruby "gem install" when :perl @@ -93,10 +93,6 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError "jruby -S gem install" end end - - def brew_pip - 'brew install pip && ' unless Formula.factory('pip').installed? - end end class BuildError < Homebrew::InstallationError |
