aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-09-04 18:34:12 -0500
committerJack Nagel2013-09-04 18:34:12 -0500
commit29e5cef4f8f19878ea816f50e36b8acb7f2a5b3f (patch)
tree1a63febd35e07216618c5d51f98ee66d233ae795 /Library
parent71e656ade12eedc3df4c037183377b3b3e9fe50d (diff)
downloadhomebrew-29e5cef4f8f19878ea816f50e36b8acb7f2a5b3f.tar.bz2
elixir: erlang R16 is in core now
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/elixir.rb28
1 files changed, 1 insertions, 27 deletions
diff --git a/Library/Formula/elixir.rb b/Library/Formula/elixir.rb
index 6a95d0b95..8df07b112 100644
--- a/Library/Formula/elixir.rb
+++ b/Library/Formula/elixir.rb
@@ -1,29 +1,5 @@
require 'formula'
-class ErlangInstalled < Requirement
- fatal true
-
- satisfy {
- erl = which('erl') and begin
- `#{erl} -noshell -eval 'io:fwrite("~s~n", [erlang:system_info(otp_release)]).' -s erlang halt | grep -q '^R1[6789]'`
- $?.exitstatus == 0
- end
- }
-
- def message; <<-EOS.undent
- Erlang R16 is required to install.
-
- You can install this with:
- brew tap homebrew/versions
- brew unlink erlang
- brew install erlang-r16
-
- Or you can use an official installer from:
- http://www.erlang.org/
- EOS
- end
-end
-
class Elixir < Formula
homepage 'http://elixir-lang.org/'
url 'https://github.com/elixir-lang/elixir/archive/v0.10.2.tar.gz'
@@ -31,9 +7,7 @@ class Elixir < Formula
head 'https://github.com/elixir-lang/elixir.git'
- depends_on ErlangInstalled
-
- env :userpaths
+ depends_on 'erlang'
def install
system "make"