Skip to content

Instantly share code, notes, and snippets.

@tonini
Last active December 18, 2015 17:49
Show Gist options
  • Save tonini/5820734 to your computer and use it in GitHub Desktop.
Save tonini/5820734 to your computer and use it in GitHub Desktop.
iex(1)> Mix.start
:ok
iex(2)> Mix.Rebar.global_rebar_cmd
"/usr/local/bin/rebar"
iex(3)> Mix.Rebar.local_rebar_cmd
"/Users/tonini/.mix/rebar"
iex(4)> Mix.Rebar.rebar_cmd
"/usr/local/bin/rebar"
iex(5)>
$ mix deps.compile cowboy
* Compiling cowboy
==> cowboy (compile)
Dependency not available: ranch-.* ({git,"git://github.com/extend/ranch.git",
"0.8.2"})
ERROR: compile failed while processing /Users/tonini/Projects/dynamo/deps/cowboy: rebar_abort
** (Mix) could not compile dependency cowboy, /usr/local/bin/rebar command failed. In case you want to recompile this dependency, please run: mix deps.compile cowboy
@safwank
Copy link

safwank commented Jun 30, 2013

Hi @tonini,

I came across this gist when googling the same error. Did you finally find a fix for it by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment