Hi group!
I recently tried updating rubygems on my linux machine from 0.8.10 to
0.8.11.
I am using some gems, rdf-redland, rails and the gems they depend on.
They all stop working with 0.8.11, giving error messages like this one
$ ruby RDFFromText.rb
/usr/lib/ruby/1.8/rdf/redland/node.rb:50:in `node_from_hash': undefined
method `world' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/1.8/rdf/redland/node.rb:28:in `initialize'
from /usr/lib/ruby/1.8/rdf/redland/node.rb:179:in `initialize'
from /home/lars/rubyfiles/textanalyse/Kathk.rb:12
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
from RDFFromText.rb:4
Even a simple example only using the progressbar gem does this:
$ ruby progressexample.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__': no such file to load -- progressbar (LoadError)
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
from progressexample.rb:2
The environment variable RUBYOPT is set to RUBYOPT=rubygems. The scripts
are working again as soon as I downgrade to rubygems 0.8.10, which is a
working solution but I would rather like to understand what (or if
something) is wrong with my setup.
What am I doing wrong? Any ideas?
Regards,
Lars Broecker