Mechanize: Can't get it to work. Can I help make it work next week?

X

Xeno Campanoli

This may be just one more play where my lack of experience with Ruby is biting
me, but I have had no luck making mechanize go. I'm using version 0.2.3, and
it claims to gem install successfully, but when I try to do a simple script
that just goes:

require 'rubygems'
require 'mechanize'

agent = WWW::Mechanize.new (and several versions of thingsafterthis,
including blank, don't seem to make
any difference)

and I run that alone and get a LoadError pointing to something called
custom_require.rb, lines 18 and 24, and mechanize line 14. I'd like to make
more headway this weekend if I can, but I can give feedback for the next week
if someone thinks they can help me get something usable soon. Thanks for
any feedback.

Sincerely, Xeno
 
J

James Britt

Xeno Campanoli wrote:
...
and I run that alone and get a LoadError pointing to something called
custom_require.rb, lines 18 and 24, and mechanize line 14. I'd like to make
more headway this weekend if I can, but I can give feedback for the next week
if someone thinks they can help me get something usable soon. Thanks for
any feedback.


Looks a like a gems issue, and trouble loading the 'https.rb' file

What version of rubygems are you running?

James

--

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,942
Members
47,490
Latest member
Finplus

Latest Threads

Top