我正在尝试运行mix test
elixir -json。当我这样做时,我得到
** (CompileError) /Users/me/Projects/elixir/json/test/json_test.exs:1: function '__DIR__'/0 undefined
/usr/local/Cellar/erlang-r16/R16B01/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:128: :elixir_parser.yecctoken_end_location/1
/usr/local/Cellar/erlang-r16/R16B01/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:113: :elixir_parser.yeccpars1/7
/usr/local/Cellar/erlang-r16/R16B01/lib/erlang/lib/parsetools-2.0.9/include/yeccpre.hrl:56: :elixir_parser.yeccpars0/5
src/elixir_translator.erl:17: :elixir_translator.forms/4
src/elixir_translator.erl:27: :elixir_translator.forms!/4
src/elixir_compiler.erl:25: :elixir_compiler.string/2
/private/tmp/elixir-pvTm/elixir-0.8.2/lib/elixir/lib/code.ex:229: Code.require_file/2
/private/tmp/elixir-pvTm/elixir-0.8.2/lib/elixir/lib/kernel/parallel_require.ex:48: Kernel.ParallelRequire."-spawn_requires/5-fun-0-"/5
brew
我按照说明安装了 Elixir 。
怎么了?