Ticket #8 (closed defect: worksforme)
Ubuntu error with scanner: private method `scan' called for Hpricot:Module
| Reported by: | reddaly | Owned by: | why |
|---|---|---|---|
| Priority: | major | Milestone: | 0.5 |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description (last modified by monvural) (diff)
I recently attempted to use HPricot on a new install of Ubuntu. You can see my IRB session here:
- irb(main):004:0> require 'hpricot'
- => false
- irb(main):005:0> doc = Hpricot("<p>A simple <b>test</b> string.</p>")
- NoMethodError?: private method `scan' called for Hpricot:Module
- from /usr/lib/ruby/gems/1.8/gems/hpricot-0.4.47/lib/hpricot/parse.rb:22:in `make'
- from /usr/lib/ruby/gems/1.8/gems/hpricot-0.4.47/lib/hpricot/parse.rb:11:in `parse'
- from /usr/lib/ruby/gems/1.8/gems/hpricot-0.4.47/lib/hpricot/parse.rb:4:in `Hpricot'
- from (irb):5
The same error occurs in the release and 0.4.47 versions. I am running ruby 1.8.4, and will gladly supply you with more information as you request it
Change History
Note: See
TracTickets for help on using
tickets.
