2012-08-15 4 views
1

나는이 항목 deps가 포함 된 rebar.config 있습니다철근 종속

Dependency not available: cowboy-.* ({git, "http://github.com/extend/cowboy.git", {branch,"master"}})

: 나는 실행할 때

{cowboy, ".*", {git, "http://github.com/extend/cowboy.git", {branch, "master"}}}

을 나는이 얻을 "철근 컴파일을" 방화벽 뒤에 있기 때문에 인터넷에 액세스하는 유일한 방법은 http 프록시를 사용하기 때문입니다. HTTP 프록시를 사용하도록 보강 철근을 설정하는 방법이 있습니까?

답변

1

deps 튜플이 {git, "http://..."}을 포함 할 때 rebar가 git을 사용하여 종속성을 가져 오는 것 같습니다. 그래서 이것을 다음과 같이 추가하여 해결했습니다. .gitconfig :

[http] 
    proxy = http://myproxy-url.com:8080