Re: require and the site_ruby directory...



Just Another Victim of the Ambient Morality wrote:
"Just Another Victim of the Ambient Morality" <ihatespam@xxxxxxxxxx> wrote in message news:NKaFg.144673$Em2.92508@xxxxxxxxxxxxxxxxxxxxxxxxx
"Just Another Victim of the Ambient Morality" <ihatespam@xxxxxxxxxx> wrote in message news:XpaFg.542444$C62.257947@xxxxxxxxxxxxxxxxxxxxxxxxx
"Just Another Victim of the Ambient Morality" <ihatespam@xxxxxxxxxx> wrote in message news:xkaFg.542364$C62.447443@xxxxxxxxxxxxxxxxxxxxxxxxx
"Just Another Victim of the Ambient Morality" <ihatespam@xxxxxxxxxx> wrote in message news:k2aFg.542068$C62.362943@xxxxxxxxxxxxxxxxxxxxxxxxx
"Just Another Victim of the Ambient Morality" <ihatespam@xxxxxxxxxx> wrote in message news:9D9Fg.541757$C62.90805@xxxxxxxxxxxxxxxxxxxxxxxxx


<snip a bunch>
Okay, after _way_ too many code modifications, I got it to almost work...
One way that it is defective is that it can't always parse the links of a page. The strange thing is that it works find for some pages (like slashdot.org) but completely fails for others (like rubyforge.org). When it fails, it does so by failing to collect the URL of the link and the script dies by sending a message to a nil object. I looked at the source and the two pages seem to be the same to me. Can anyone guess what's going on?
Also, why didn't "mechanize" "just work?"
Thank you..

It sounds like you didn't install this in any normal fashion? I have yet to run into public Ruby libraries which require you to copy them into the Ruby directory. Plus, I know Mechanize is available as a gem.
Why are you copying it manually? I would suspect this as the root of the issue, although it's hard to tell.

-Justin

.



Relevant Pages

  • Re: csv parse bug...
    ... > module bug, pl excuse me. ... > I am facing an odd bug when using parse() function in Text::CSV ... This is an absolutely textbook use of the function which fails ... > possible fields which will have embedded commas qualified by double ...
    (comp.lang.perl.misc)
  • Re: Text to Date(MM/DD/YY) Conversion
    ... >You should be able to use the CDate function to convert ... If that fails, you can parse the date into the ...
    (microsoft.public.access.conversion)
  • csv parse bug...
    ... module bug, pl excuse me. ... I am facing an odd bug when using parse() function in Text::CSV module. ... This is an absolutely textbook use of the function which fails for some ... possible fields which will have embedded commas qualified by double ...
    (comp.lang.perl.misc)
  • reviewing Hacmp.out files
    ... I need a way to parse ... hacmp.out files on 2 node cluster why every week the ... node b fails to bring all resources back. ... HP-UX System Administration Certified ...
    (AIX-L)