Re: require and the site_ruby directory...
- From: Justin Collins <collinsj@xxxxxxxxxxxx>
- Date: Fri, 18 Aug 2006 15:00:06 +0900
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<snip a bunch>
"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
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
.
- Follow-Ups:
- Re: require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- Re: require and the site_ruby directory...
- References:
- require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- Re: require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- Re: require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- Re: require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- Re: require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- Re: require and the site_ruby directory...
- From: Just Another Victim of the Ambient Morality
- require and the site_ruby directory...
- Prev by Date: Re: Perl Junkie: Bad form?
- Next by Date: Syntax checker wtf?
- Previous by thread: Re: require and the site_ruby directory...
- Next by thread: Re: require and the site_ruby directory...
- Index(es):
Relevant Pages
|