gkellogg / rdf_context

Ruby RDF package with contextual graphs, memory and persistent datastores and compliant RDF/XML, RDFa and N3 parsers. (Deprecated, please see RDF.rb https://github.org/gkellogg/rdf and my other related gems)
24 stars 5 forks source link

Error while processing ri for rdf_context gem #1

Closed ijdickinson closed 14 years ago

ijdickinson commented 14 years ago

I had a minor problem installing rdf_context from a gem:

ian@rowan-15 $ sudo gem install rdf_context
Successfully installed builder-2.1.2
Successfully installed rdf_context-0.5.5
2 gems installed
Installing ri documentation for builder-2.1.2...
Installing ri documentation for rdf_context-0.5.5...
ERROR:  While executing gem ... (ArgumentError)
unknown encoding name - utf-8'

This was Ruby 1.9.1 on Ubuntu 10.04 Lucid

ijdickinson commented 14 years ago

And the fix is to remove the trailing quote character on line 1 of lib/rdf_context/n3_grammar.treetop

gkellogg commented 14 years ago

Thanks, this bugged me. I'll add it to the list for the next version.

gkellogg commented 14 years ago

Fixed in 0b6d642acdfd6f4959c2078aa3bf8b089cc708fc which was released in version 0.5.5.