2014-06-25 44 views
1

藥劑的應用我試圖創建鳳凰框架的Web應用程序藥劑和我下面從GitHub官方教程(https://github.com/phoenixframework/phoenix無法創建與鳳凰

當我執行命令創建一個應用程序,我收到錯誤訊息。我無法理解我在這裏錯過了什麼。你能幫我解決嗎?

e.g. 
    mix phoenix.new photo_blog /home/johndoe/ 

mr.black :) > mix phoenix.new photo_blog /home/johndoe/ 
* creating /home/johndoe/photo_blog 
** (UndefinedFunctionError) undefined function: Path.wildcard/2 
    (elixir) Path.wildcard("/home/mrblack/projects/eli/phoenix/template/**/*", [match_dot: true]) 
    lib/mix/tasks/phoenix/new.ex:21: Mix.Tasks.Phoenix.New.run/1 
    (mix) lib/mix/cli.ex:66: Mix.CLI.run_task/2 
    (elixir) src/elixir_lexical.erl:17: :elixir_lexical.run/2 
    (elixir) lib/code.ex:296: Code.require_file/2 

藥劑和我用我的系統

mr.black :) > iex -v 
Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] 

Elixir 0.14.0 

回答

5

Path.wildcard/2加入藥劑v0.14.1二郎版本,所以我想你將需要使用v0.14.1而不是v0.14.0。 :)

+0

是的,你是正確的。我已經修好了。它工作正常。無論如何謝謝你的答案。 –