Closed mjy closed 12 years ago
Hi Matt, indeed, the upgrade to SnowLeopard is painful, but now that it's done, you shouldn't have to worry about it for a while!
The problem you're noticing is a recent bug introduced by the addressable gem: https://github.com/sporkmonger/addressable/pull/33. If you roll back to 2.2.4 that should fix the problem. The problem affects everything that uses RDF.rb; we're hoping for a fix soon, or Arto will update RDF.rb to have a "= 2.2.4" dependency.
Awesome!! Everything is working again. Many thanks for the quick reply.
Cheers, Matt
On Thu, Apr 14, 2011 at 10:47 AM, gkellogg reply@reply.github.com wrote:
Hi Matt, indeed, the upgrade to SnowLeopard is painful, but now that it's done, you shouldn't have to worry about it for a while!
The problem you're noticing is a recent bug introduced by the addressable gem: https://github.com/sporkmonger/addressable/pull/33. If you roll back to 2.2.4 that should fix the problem. The problem affects everything that uses RDF.rb; we're hoping for a fix soon, or Arto will update RDF.rb to have a "= 2.2.4" dependency.
Reply to this email directly or view it on GitHub: https://github.com/gkellogg/rdf-rdfxml/issues/8#comment_1001575
Hi Gregg et al.
I having a problem using the gem, but a big caveat- I just upgraded to snow leopard, so it might be my system. I've wiped and rebuilt all my gems using env ARCHFLAGS="-arch x86_64" and the rest of my gems seem to be working fine. Also re-installed nokogiri and including re-installing from source lib2xml etc. beforehand. Here's the error, just curious as to whether you've come across such and have any hints.
Thanks! Matt
ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
gem --version 1.7.2
/Library/Ruby/Gems/1.8/gems/addressable-2.2.5/lib/addressable/uri.rb:763:in
user': can't modify frozen object (TypeError) from /Library/Ruby/Gems/1.8/gems/addressable-2.2.5/lib/addressable/uri.rb:882:in
userinfo' from /Library/Ruby/Gems/1.8/gems/addressable-2.2.5/lib/addressable/uri.rb:1006:inauthority' from /Library/Ruby/Gems/1.8/gems/addressable-2.2.5/lib/addressable/uri.rb:2117:in
to_s' from /Library/Ruby/Gems/1.8/gems/rdf-0.3.2/lib/rdf/model/uri.rb:523:into_s' from /Library/Ruby/Gems/1.8/gems/rdf-0.3.2/lib/rdf.rb:160:in
[]' from /Library/Ruby/Gems/1.8/gems/rdf-0.3.2/lib/rdf.rb:169:inmethod_missing' from /Library/Ruby/Gems/1.8/gems/rdf-0.3.2/lib/rdf/model/literal/xml.rb:9 from /Users/matt/Downloads/gkellogg-rdf-rdfxml-ba0cc64/lib/rdf/rdfxml/patches/literal_hacks.rb:19 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in
gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:inrequire' from ./lib/rdf/rdfxml.rb:26 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in
gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require' from example.rb:6