[redland-dev] Ruby bdb HashStore bug?
Alex Gilman
agilman at lbl.gov
Thu Sep 29 18:46:28 BST 2005
Hi, I am new to Redland and would appreciate any help. When I run the
following Ruby code, nothing gets added to the HashStore:
require 'rdf/redland'
include Redland
store = HashStore.new('bdb', 'myStore')
model = Model.new(store)
statement = Statement.new(Uri.new('urn:beebee'), Uri.new('urn:eats'),
Uri.new('urn:apples'))
model.add_statement(statement)
When I do the same thing in Perl, the statement does get added to the
store. Is there something extra I have to do in Ruby to get the new
statement into the persistent store?
I have Redland 1.0.2 and Ruby 1.8.2 under cygwin on WinXP.
Thanks in advance,
alex
More information about the redland-dev
mailing list