I never heard of mechanize but I see from the doco that it requires 
Nokogiri to run. I have a working copy of Nokogiri and just did a 
successful 'gem install mechanize' but when I ran your basic script, I 
get:

[root@trebek2 bin]# ./mechanize.rb
./mechanize.rb:7: uninitialized constant Mechanize (NameError)
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
        from ./mechanize.rb:5



Am I missing something?

atomic

-- 
Posted via http://www.ruby-forum.com/.