Fix message and undent for external deps
This commit is contained in:
parent
f17a92ff40
commit
1f1da9266c
@ -22,32 +22,32 @@ class FormulaInstaller
|
|||||||
|
|
||||||
def pyerr dep
|
def pyerr dep
|
||||||
brew_pip = ' brew install pip &&' unless Formula.factory('pip').installed?
|
brew_pip = ' brew install pip &&' unless Formula.factory('pip').installed?
|
||||||
<<-EOS.dedent
|
<<-EOS.undent
|
||||||
Unsatisfied dependency, #{dep}
|
Unsatisfied dependency, #{dep}
|
||||||
Homebrew does not provide formula for Python dependencies, pip does:
|
Homebrew does not provide Python dependencies, pip does:
|
||||||
|
|
||||||
#{brew_pip} pip install #{dep}
|
#{brew_pip} pip install #{dep}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
def plerr dep; <<-EOS.dedent
|
def plerr dep; <<-EOS.undent
|
||||||
Unsatisfied dependency, #{dep}
|
Unsatisfied dependency, #{dep}
|
||||||
Homebrew does not provide formula for Perl dependencies, cpan does:
|
Homebrew does not provide Perl dependencies, cpan does:
|
||||||
|
|
||||||
cpan -i #{dep}
|
cpan -i #{dep}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
def rberr dep; <<-EOS.dedent
|
def rberr dep; <<-EOS.undent
|
||||||
Unsatisfied dependency "#{dep}"
|
Unsatisfied dependency "#{dep}"
|
||||||
Homebrew does not provide formulae for Ruby dependencies, rubygems does:
|
Homebrew does not provide Ruby dependencies, rubygems does:
|
||||||
|
|
||||||
gem install #{dep}
|
gem install #{dep}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
def jrberr dep; <<-EOS
|
def jrberr dep; <<-EOS.undent
|
||||||
Unsatisfied dependency "#{dep}"
|
Unsatisfied dependency "#{dep}"
|
||||||
Homebrew does not provide formulae for JRuby dependencies, rubygems does:
|
Homebrew does not provide JRuby dependencies, rubygems does:
|
||||||
|
|
||||||
jruby -S gem install #{dep}
|
jruby -S gem install #{dep}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user