requiring other libs
Leslie Wu
lwu.two at gmail.com
Sat Apr 14 18:24:28 EDT 2007
% gem list --local | grep "scrapi\|tidy\|hpricot"
hpricot (0.5.134, ...)
scrapi (1.2.0)
tidy (1.1.2)
% ruby -v
ruby 1.8.6 (2007-02-19 patchlevel 5000) [i686-darwin8.8.1]
% irb
require 'scrapi'
require 'hpricot'
# Works for me?
Google found this use of insert_before:
http://shanesbrain.net/articles/2006/10/02/screen-scraping-wikipedia
~L
On 4/11/07, Josh Icuss <jicuss at gmail.com> wrote:
>
> Im realy digging the new syntax. Hpricot is a well developed choice.
> Having trouble loading the Scrapi gem. any known issues?
> require 'tidy' or require 'scrapi' causes the script not to load. Also
> could anyone provide a quick insert_before example?
>
> _______________________________________________
> Mousehole-scripters mailing list
> Mousehole-scripters at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mousehole-scripters
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mousehole-scripters/attachments/20070414/defb2bec/attachment.html
More information about the Mousehole-scripters
mailing list