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

Re: linkeddata gem dependency missing

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Sun, 4 Sep 2011 12:49:15 -0400
To: cdr <_@whats-your.name>
CC: "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Message-ID: <C6ECC6DE-CC89-487A-AB45-4B4FC78194EF@greggkellogg.net>
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..
> 
> 
> 
Received on Sunday, 4 September 2011 16:49:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 4 September 2011 16:49:58 GMT