Skip to content

Instantly share code, notes, and snippets.

@chids
Created March 11, 2011 13:43
Show Gist options
  • Save chids/865888 to your computer and use it in GitHub Desktop.
Save chids/865888 to your computer and use it in GitHub Desktop.
mochiweb make app generates invalid rebar.config?
When trying to make a project created with Mochiweb "make app" I got:
Pulling mochiweb from {git,"git://github.com/mochi/mochiweb.git",[]}
Cloning into mochiweb...
error: pathspec 'origin/' did not match any file(s) known to git.
ERROR: git checkout -q origin/ failed with error: 1
make: *** [all] Error 1
The mochiweb dependency in rebar.conf looked like this:
{git, "git://github.com/mochi/mochiweb.git", ""}}]}.
It works if I changed it to:
{git,"git://github.com/mochi/mochiweb","HEAD"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment