webrick/httpsutils missing?

M

mxbrunet

I'm trying to run the 'mechanize' gem from ubuntu and I get the
following errors:

No such file to load -- webrick/httputils (LoadError)

What have I missed? Can anyone help?

--max
 
H

hemant

I'm trying to run the 'mechanize' gem from ubuntu and I get the
following errors:

No such file to load -- webrick/httputils (LoadError)

What have I missed? Can anyone help?

I am not sure, if this is the fix. Probably first you should install
webrick as a gem or something.

But normally...you need to do:

require 'rubygems'
require 'mechanize'

Thats the way...mechanize would work properly.
 
M

mxbrunet

Thanks for your help. I found my problem. I was supposing that webrick
was autotically installed with ruby ... I was using InstantRails on
Windows which comes with everything.

So basically, I had to go the webrick's site, downlad and install it
.... and voila.

thanks again.

Max
 
E

Eric Hodel

Thanks for your help. I found my problem. I was supposing that webrick
was autotically installed with ruby

It is:

$ ls /usr/local/lib/ruby/1.8/webrick/httputils.rb
/usr/local/lib/ruby/1.8/webrick/httputils.rb
... I was using InstantRails on Windows which comes with everything.

It must be broken.
So basically, I had to go the webrick's site, downlad and install it
... and voila.

I'd file a bug against InstantRails...

--=20
Eric Hodel - (e-mail address removed) - http://blog.segment7.net

A: Yes
Q: Is top-posting bad?
=97 Derek Milhous Zumsteg
 
C

Curt Hibbs

It is:

$ ls /usr/local/lib/ruby/1.8/webrick/httputils.rb
/usr/local/lib/ruby/1.8/webrick/httputils.rb


It must be broken.


I'd file a bug against InstantRails...

Its all there in Instant Rails... everything that is bundled with
Ruby. I just double checked in case something weird happenned in the
last release, but its all there.

Curt
 

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,214
Messages
2,571,112
Members
47,705
Latest member
noname22

Latest Threads

Top