Hi,
We are seeing an issue with Warbler (1.2.1) and nokogiri 1.5.0.beta3
when trying to warble our application it fails trying to require
‘nokogiri/nokogiri’
A little investigation shows that on line 15 of:
https://github.com/tenderlove/nokogiri/blob/master/lib/nokogiri.rb
the VERSION appears to be defined and the jar files are not being
required and we get the error.
It appears that Warbler is defining this constant when we go to create
our war file.
Back revving to nokogiri beta 2 does not have this problem.
Is this a nokogiri issue or a warbler issue? Either way it’s pretty
important to fix it. I could hack something in Nokogiri but I’m not
sure that’s the right approach.
Thanks!
Jay
hi,
as I understand the issue: you need to add the jar files in your lib
directory:
isorelax.jar,jing.jar,nekohtml.jar,nekodtd.jar,xercesImpl.jar
as nokogiri expect it and warbler has no way to know where to get
those jars from.
maybe that helps, Kristian
On Thu, Jan 13, 2011 at 12:20 PM, Jay McGaffigan [email protected]
wrote:
the VERSION appears to be defined and the jar files are not being
required and we get the error.
It appears that Warbler is defining this constant when we go to create
our war file.
Back revving to nokogiri beta 2 does not have this problem.
Is this a nokogiri issue or a warbler issue? Either way it’s pretty
important to fix it. I could hack something in Nokogiri but I’m not
sure that’s the right approach.
Sorry, that’s the bug of Nokogiri. See the comments on the commit
https://github.com/tenderlove/nokogiri/commit/d993bfb8677373fc04fa6b000c37fe123966821b
By the next release, kristian’s suggestion gets your app up and running.
-Yoko