elixir-web / weber

[WiP] Web framework for Elixir inspired by Rails [#WeberMVC at freenode]
http://elixir-web.github.io/weber/
MIT License
370 stars 33 forks source link

Compilation issue when running make (mix compile) #177

Closed Gazler closed 10 years ago

Gazler commented 10 years ago

I have tried this with both elixir 0.12.4 and 0.12.5 and both return the following when compiling:

== Compilation error on file lib/weber/handler/weber_req_handler.ex ==
** (UndefinedFunctionError) undefined function: Enum.into/2
    (elixir) Enum.into([docs: true, debug_info: true, warnings_as_errors: false], [])
    lib/lager.ex:83: Lager.compile_log_level/0
    lib/lager.ex:74: Lager.should_log/1
    lib/lager.ex:58: Lager.log/4
    /home/gazler/development/weber/lib/weber/handler/weber_req_handler.ex:40: Lager.info/1
    /home/gazler/development/weber/lib/weber/handler/weber_req_handler.ex:40: Handler.WeberReqHandler.handle/2

Any help with this would be greatly appreciated.

I found a reference to the function in question in https://github.com/khia/exlager/commit/9e667f7394d59a29f408b4135bf2696e30bfa6b0 - when I revert this commit it compiles correctly.

rizafahmi commented 10 years ago

Exactly have similar issue above.

0xAX commented 10 years ago

Thanks, will look. What's elixir version are you using?

rizafahmi commented 10 years ago

version 0.12.5

rcdilorenzo commented 10 years ago

Since this issue is from 2 complete elixir releases ago, I'm going to close this issue. If this compilation problem persists, please open a new issue. Thanks!