Created
August 17, 2009 16:14
-
-
Save mrchrisadams/169217 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### what's going on here? | |
>> require 'hpricot' | |
=> true | |
>> b = Hpricot.XML(open('blogs.xml')) | |
>> y b | |
NoMethodError: undefined method `yaml_tag_subclasses?' for Hpricot::Doc:Class | |
from /usr/local/lib/ruby/1.8/yaml/tag.rb:69:in `taguri' | |
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml' | |
from /usr/local/lib/ruby/1.8/yaml.rb:391:in `call' | |
from /usr/local/lib/ruby/1.8/yaml.rb:391:in `emit' | |
from /usr/local/lib/ruby/1.8/yaml.rb:391:in `quick_emit' | |
from /usr/local/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml' | |
from /usr/local/lib/ruby/1.8/yaml.rb:117:in `dump' | |
from /usr/local/lib/ruby/1.8/yaml.rb:432:in `y' | |
from (irb):6 | |
from :0 | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment