R
Rob .
When I try to run a ruby script that uses rdf-redland I get the
following "No such file to load" error. Possibly it is not finding my
installation of redland?
`require__': No such file to load -- redland (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland/store.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland/model.rb:2
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from parse.rb:1
Here's my script (parse.rb):
require 'rdf/redland'
include Redland
model = Model.new
parser = Parser.raptor
parser.parse_into_model(model,'allpolls.rdf')
p model.methods
I'm running on GNU/Linux (Fedora Core 1). I have rdf-redland0.5.1.3 installed:
I have compiled and installed redland 0.9.18:
Any ideas on how to prevent the "No such file to load -- redland" error?
Cheers,
Rob
following "No such file to load" error. Possibly it is not finding my
installation of redland?
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:inruby -rubygems parse.rb
`require__': No such file to load -- redland (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland/store.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland/model.rb:2
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
from parse.rb:1
Here's my script (parse.rb):
require 'rdf/redland'
include Redland
model = Model.new
parser = Parser.raptor
parser.parse_into_model(model,'allpolls.rdf')
p model.methods
I'm running on GNU/Linux (Fedora Core 1). I have rdf-redland0.5.1.3 installed:
rdf-redland (0.5.1.3)gem list rdf
I have compiled and installed redland 0.9.18:
./configure --with-ruby
make
make install
Any ideas on how to prevent the "No such file to load -- redland" error?
Cheers,
Rob