I'm on OS X 10.10.1 and I have Erlang installed. Namely:
Erlang/OTP 17 [erts-6.2.1] [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
I would like to follow one of the many webmachine introductory tutorials, and create a new project - unfortunately I always get stuck. Here's my process:
$ git clone https://github.com/basho/webmachine.git
$ ./webmachine/scripts/new_webmachine.sh testproject
The second command fails with:
==> priv (create)
ERROR: Template wmskel not found.
ERROR: create failed while processing /Users/wasabii/webmachine/priv: rebar_abort
I have not been able to get any further than the above error message, displayed on both Ubuntu 14 and OS X. In the former case, it was a fresh setup, that only performed a sudo apt-get git/erlang
before attempting to run the shell script.
Is there something I'm missing? I don't quite understand the error message.
Unfortunately it appears you've run into a problem caused by an update to the
rebar
executable in the top-level directory of thewebmachine
repository. If you check out commit a85499e instead, everything should work as you'd expect:I've reported this as an issue in the webmachine github repository.