[MacRuby] #1218: Mechanize fails under MacRuby, runs under 1.9.2 (similar to ticket #1182)
MacRuby
ruby-noreply at macosforge.org
Sat Apr 9 13:02:35 PDT 2011
#1218: Mechanize fails under MacRuby, runs under 1.9.2 (similar to ticket #1182)
------------------------------+---------------------------------------------
Reporter: lonny6@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------+---------------------------------------------
Comment(by lonny6@…):
Later note: I thought my deduction was sound (since the full Mechanize
instance does not seem to be returned when it is created), but I
discovered this morning that if I include "puts agent.inspect" in the code
right after creation, the full object gets printed out. Also, "puts
agent.html_parser" returns "Nokogiri::HTML" just as I would expect.
So it DOESN'T actually appear to be a problem in the initialization of the
object after all (though it is weird that the whole object does not get
returned at first). But somewhere in the code, the Mechanize object is
showing up as nil.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1218#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list