forio / Curl.jl

a Julia HTTP curl library
Other
11 stars 8 forks source link

README suggests git clone, but Pkg.add does that for you #8

Closed ordovician closed 11 years ago

ordovician commented 11 years ago

In the README I am advised to run:

cd ~/.julia/; git clone https://github.com/forio/Curl.jl.git Curl

But then the later install instructions fail:

julia> Pkg.update(); Pkg.add("Curl"); using Curl
Branch devel set up to track remote branch devel from origin.
Already up-to-date.
MESSAGE: Installing Curl v0.0.1
 in anonymous at no file:163
ERROR: Path Curl already exists! Please remove to allow installation.
 in _resolve at pkg.jl:378
 in anonymous at no file:163
 in cd at file.jl:25
 in cd_pkgdir at pkg.jl:42
 in add at pkg.jl:143
 in add at pkg.jl:175

The solution was to delete the repo and only run:

julia> Pkg.update(); Pkg.add("Curl"); using Curl
WestleyArgentum commented 11 years ago

Heh, sorry about that, old install directions. Thanks for posting.