[redland-dev] ruby bindings

vrtprj.com mail at vrtprj.com
Wed Aug 3 16:41:38 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe Ubunto doesn't store the bindings in the same hierarchy as the the ruby
lib dir? If so you could try to add the the path to the redland ruby-bindings
manually to your library search path.

Executing 

~> ruby -e 'puts $:'

will give you the paths were Ruby is searching for libraries. The either move the
the ruby redland bindings in one of these directories or simply add the new
path (See http://www.whytheluckystiff.net/ruby/pickaxe/html/rubyworld.html)
for options.

Hope this helps,
Rainer

>>>>> "Yann" == Yann Klis <strass at strasslab.net> writes:

    Yann> Hi all, I'm new to rdf (and redlanf) and I'm looking for some simple
    Yann> examples with the ruby bindings like: - opening a storage - creating
    Yann> a model - creating a statement - add this statement to the model

    Yann> I'm a little lost at the moment because I try to run the tests and
    Yann> the tuby interpreter complains about basic things like:
    Yann> "test_model.rb:2:in `require': No such file to load -- rdf/redland
    Yann> (LoadError)"

    Yann> My system is Ubuntu Hoary and I simply install the librdf-ruby
    Yann> package from my distribution.

- -- 
Rainer Volz
Virtuelle Projekte -- www.vrtprj.de
Virtual Projects   -- www.vrtprj.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFC8OWcenjtlV2FwvQRAjOiAJ9OGuXkfr6t0c5/80XeQ05E4rTkQgCeJ9ml
674WftrGiF3gDJRCyCPYJB8=
=Enx/
-----END PGP SIGNATURE-----



More information about the redland-dev mailing list