diff options
Diffstat (limited to 'Library/Formula/elixir.rb')
| -rw-r--r-- | Library/Formula/elixir.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/elixir.rb b/Library/Formula/elixir.rb index 96c196cbd..8132c56f5 100644 --- a/Library/Formula/elixir.rb +++ b/Library/Formula/elixir.rb @@ -3,6 +3,8 @@ require 'formula' class ErlangInstalled < Requirement fatal true + satisfy { which 'erl' } + def message; <<-EOS.undent Erlang is required to install. @@ -13,10 +15,6 @@ class ErlangInstalled < Requirement http://www.erlang.org/ EOS end - - def satisfied? - which 'erl' - end end class Elixir < Formula |
