Some String.dedent action
This commit is contained in:
parent
826ab8be71
commit
5d75197c04
@ -22,21 +22,21 @@ class FormulaInstaller
|
||||
|
||||
def pyerr dep
|
||||
brew_pip = ' brew install pip &&' unless Formula.factory('pip').installed?
|
||||
<<-EOS
|
||||
<<-EOS.dedent
|
||||
Unsatisfied dependency, #{dep}
|
||||
Homebrew does not provide formula for Python dependencies, pip does:
|
||||
|
||||
#{brew_pip} pip install #{dep}
|
||||
EOS
|
||||
end
|
||||
def plerr dep; <<-EOS
|
||||
def plerr dep; <<-EOS.dedent
|
||||
Unsatisfied dependency, #{dep}
|
||||
Homebrew does not provide formula for Perl dependencies, cpan does:
|
||||
|
||||
cpan -i #{dep}
|
||||
EOS
|
||||
end
|
||||
def rberr dep; <<-EOS
|
||||
def rberr dep; <<-EOS.dedent
|
||||
Unsatisfied dependency "#{dep}"
|
||||
Homebrew does not provide formulae for Ruby dependencies, rubygems does:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user