P
peter
Hi,
I am experiencing problems trying to parse an XML feed on Ubuntu - the
same code works without any problems on OS X.
The code is roughly this:
============================================
require 'open-uri'
require 'rss'
rss = RSS:arser.parse(open(url).read, false)
============================================
On OS X it works fine. On Ubuntu:
/usr/local/lib/ruby/1.8/rss/parser.rb:474: available XML parser was not
found in [["rss/xmlparser", :XMLParserParser], ["rss/xmlscanner",
:XMLScanParser], ["rss/rexmlparser", :REXMLParser]].
(RSS::XMLParserNotFound)
Am I missing something?
Cheers,
Peter
I am experiencing problems trying to parse an XML feed on Ubuntu - the
same code works without any problems on OS X.
The code is roughly this:
============================================
require 'open-uri'
require 'rss'
rss = RSS:arser.parse(open(url).read, false)
============================================
On OS X it works fine. On Ubuntu:
/usr/local/lib/ruby/1.8/rss/parser.rb:474: available XML parser was not
found in [["rss/xmlparser", :XMLParserParser], ["rss/xmlscanner",
:XMLScanParser], ["rss/rexmlparser", :REXMLParser]].
(RSS::XMLParserNotFound)
Am I missing something?
Cheers,
Peter