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

Discussion in 'Ruby' started by Xeno Campanoli, Jul 1, 2005.

  1. 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
    Xeno Campanoli, Jul 1, 2005
    #1
    1. Advertising

  2. Xeno Campanoli

    James Britt Guest

    Re: Mechanize: Can't get it to work. Can I help make it work nextweek?

    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
    James Britt, Jul 1, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    3
    Views:
    1,829
    Alexandre
    Dec 22, 2003
  2. Deniz Bahar
    Replies:
    2
    Views:
    453
    Andrey Tarasevich
    Mar 9, 2005
  3. Guest
    Replies:
    3
    Views:
    517
    Alexandre
    Dec 22, 2003
  4. Guest
    Replies:
    3
    Views:
    1,076
    Alexandre
    Dec 22, 2003
  5. SimonC
    Replies:
    13
    Views:
    329
    Dr John Stockton
    Jan 4, 2005
Loading...

Share This Page