我在 Windows8 上使用 Elixir 的 Phoenix 框架时遇到了严重的问题。在解决了大多数特定于平台的错误之后,一个错误告诉我找不到 rebar 并且没有编译牧场。我什至已经将钢筋放在我的环境路径中,但它仍然在抱怨。总而言之,编译ranch应该怎么做,下面有个报错的例子。
Programming PC@PROGRAMMING-PC ~/Documents/GitHub/Elixir/phoenix ((v0.6.1))
$mix phoenix.new newapp ~/newapp
'c:/Program' is not recognized as an internal or external command,
operable program or batch file.
←[31m←[1m** (Mix) Could not compile dependency ranch, c:/Program Files/rebar/reb
ar.cmd command failed. If you want to recompile this dependency, please run: mix
deps.compile ranch←[0m