I get this error:
/Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:440:in sort_properties': undefined methodlast' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:439:in sort' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:439:insort_properties'
from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:438:in each' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:438:insort_properties'
from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:160:in subject' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:147:inwrite_epilogue'
from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:145:in each' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:145:inwrite_epilogue'
from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:161:in initialize' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:67:ininitialize'
from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:131:in new' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:131:inbuffer'
from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:130:in open' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:130:inbuffer'
from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:115:in `dump'
from rdfxml_test.rb:17
Not had time to investigate this properly, but I thought I would get it into the issue tracker, so that I remember.
When running this gist: http://gist.github.com/477594
I get this error: /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:440:in
sort_properties': undefined method
last' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:439:insort' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:439:in
sort_properties' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:438:ineach' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:438:in
sort_properties' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:160:insubject' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:147:in
write_epilogue' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:145:ineach' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:145:in
write_epilogue' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:161:ininitialize' from /Library/Ruby/Gems/1.8/gems/rdf-rdfxml-0.2.1/lib/rdf/rdfxml/writer.rb:67:in
initialize' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:131:innew' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:131:in
buffer' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:130:inopen' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:130:in
buffer' from /Library/Ruby/Gems/1.8/gems/rdf-0.2.1/lib/rdf/writer.rb:115:in `dump' from rdfxml_test.rb:17