You're not doing anything wrong. There were some changes made to julia a
couple days ago that I haven't caught up with yet. I'll get it fixed and
tag a new version sometime tomorrow.
In the meantime, it'll work if you build a slightly older version of julia (git
checkout b2fea25f2b693fd848277df78c7a794dee7054a0, should do it).
On Sunday, February 23, 2014 10:35:18 PM UTC-8, Ben Mabey wrote:
>
> Hi all,
> I'm checking out Julia tonight for the first time and I've liked what I've
> seen so far. Everything has gone smoothly except for using Gadfly.
>
> I'm running OSx 10.9.1 and I downloaded the latest prerelease build which
> was v0.3.0-prerelease-e8a3368070. I ran Pkg.add("Gadfly") and
> Pkg.add("Cario"). Both seemed to run fine but 'using Gadlfly' issues
> deprecation warnings:
>
> using Gadfly
> WARNING: Set(a,b...) is deprecated, use Set({a,b...}) instead.
> in depwarn at deprecated.jl:29
> in Set at deprecated.jl:19
> in include at boot.jl:243
> in include_from_node1 at loading.jl:120
> in include at boot.jl:243
> in include_from_node1 at loading.jl:120
> in reload_path at loading.jl:144
> in _require at loading.jl:59
> in require at loading.jl:46
> in include at boot.jl:243
> in include_from_node1 at loading.jl:120
> in reload_path at loading.jl:144
> in _require at loading.jl:59
> in require at loading.jl:43
>
> The warnings seem minor but when I try to use Gadfly I get an error within
> Set:
>
> julia> draw(SVG("output.svg", 6inch, 3inch), plot([sin, cos], 0, 25))
> ERROR: no method start(Symbol)
> in union! at set.jl:26
> in Set at set.jl:11
> in render at /Users/bmabey/.julia/v0.3/Gadfly/src/Gadfly.jl:504
> in draw at /Users/bmabey/.julia/v0.3/Gadfly/src/Gadfly.jl:722
>
> Looking at ~/.julia/v0.3/Gadfly I noticed that I was on the latest tagged
> release of v0.2.4. So I tried going to master with Pkg.checkout("Gadfly")
> but I got the same errors as above even with a clean REPL.
>
> What am I doing wrong?
>
> Thanks,
> Ben
>