elixir-web / weber

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

argument error running mix compile #188

Closed tobyhede closed 10 years ago

tobyhede commented 10 years ago
(ArgumentError) argument error :erlang.list_to_binary("index.html")

Environment:

 ✘  ~/Projects/weber_test  mix deps.get && mix compile --all --force
warning: the dependency exjson requires Elixir "0.13.0" but you are running on v0.13.1
All dependencies up to date
warning: the dependency exjson requires Elixir "0.13.0" but you are running on v0.13.1
Compiled lib/config.ex
Compiled lib/controllers/main.ex
== Compilation error on file lib/app.ex ==
** (ArgumentError) argument error
    :erlang.list_to_binary("index.html")
    lib/weber/templates/views_loader.ex:14: Weber.Templates.ViewsLoader."-MACRO-set_up_resources/2-fun-1-"/1
    (elixir) lib/enum.ex:962: Enum."-map/2-lc$^0/1-0-"/2
    lib/weber/templates/views_loader.ex:13: Weber.Templates.ViewsLoader."MACRO-set_up_resources"/2
    ~/Projects/weber_test/lib/app.ex:7: Weber.Templates.ViewsLoader.set_up_resources/1
    ~/Projects/weber_test/lib/app.ex:7: WeberTest.start/2
tobyhede commented 10 years ago

Looks like this was fixed by https://github.com/elixir-web/weber/commit/23a39f58e5d9ebd254678c7e331110d5905c0ae0