W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > September 2011

Re: linkeddata gem dependency missing

From: Ben Lavender <ben@dydra.com>
Date: Sun, 4 Sep 2011 17:24:34 -0500
Message-ID: <CAKUjfnNGAr9w+UJzf=eLrEEonthBLS8zcHAq_62nw-bhma2i4w@mail.gmail.com>
To: Gregg Kellogg <gregg@kellogg-assoc.com>
Cc: cdr <_@whats-your.name>, "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Syck was the old default YAML engine in Ruby 1.8, which has been replaced
with Psych in 1.9. See:

http://stackoverflow.com/questions/4980877/rails-error-couldnt-parse-yaml

If Syck is coming up as a problem, probably one of the gems is referencing
it specifically, in error, and then not tested on 1.9. The exact error here
looks like it's in a gemspec somewhere.

Ben

On Sun, Sep 4, 2011 at 11:49 AM, Gregg Kellogg <gregg@kellogg-assoc.com>wrote:

> Looks like Syck get's used as part of RDF::RDFa development dependencies.
> It's used by YAML. YAML and Syck are (were) part of the Ruby standard
> library, so wouldn't be installed separately. It might be there because of
> RDF::RDFa's use of YAML, as I found it in a 0.3.5 version gemspec file (but
> can't actually find it in any installed specifications.
>
> The gemspec implementation was re-done in RDF::RDFa version 0.3.5.1 due to
> some other dependency issues in some 1.8 implementations. You might try dong
> 'gem update rdf-rdfa' and see if that fixes the issue. The required version
> in the linkeddata gem hasn't changed in a while, so it won't happen
> automatically.
>
> If the problem persists, please send the ruby version you're using. If, for
> some reason, you are using 1.8 gemspecs with a 1.9 version of Ruby, this
> might be a source of the problem. In any case, it should not exist with
> version 0.3.5.1 of RDF::RDFa.
>
> Gregg
>
> On Sep 4, 2011, at 8:45 AM, cdr wrote:
>
> > ..use the 'linkeddata' gem [1][2][3]
> >
> > myhost ~ gem install linkeddata
> > ERROR:  While executing gem ... (NameError)
> >    uninitialized constant Syck::Syck
> > myhost ~ gem install Syck
> > ERROR:  Could not find a valid gem 'Syck' (>= 0) in any repository
> > myhost ~ gem install syck
> > ERROR:  Could not find a valid gem 'syck' (>= 0) in any repository
> > myhost ~ gem install syck-ruby
> > ERROR:  Could not find a valid gem 'syck-ruby' (>= 0) in any repository
> > myhost ~ gem install ruby-syck
> > ERROR:  Could not find a valid gem 'ruby-syck' (>= 0) in any repository
> >
> >
> > i did a search on http://aur.archlinux.org/ for Syck, found a package,
> installed it with yaourt, hoping it included ruby bindings but apparently
> not. a search on rubygems.info just turns up a library for "if you are
> sick of Syck". well i'm not sick of it i don't even know what it is..
> >
> >
> >
>
>
>


-- 
Ben Lavender | ben@dydra.com | http://dydra.com
twitter/github: bhuga | +15047221016
Received on Sunday, 4 September 2011 22:25:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 4 September 2011 22:25:52 GMT