Webrick/httpsutils missing?

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

On 10/2/06, mxbrunet [email protected] wrote:

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.

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

On 10/5/06, Eric H. [email protected] wrote:

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…

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

On Oct 4, 2006, at 2:00 PM, mxbrunet wrote:

webrick as a gem or something.

But normally…you need to do:

require ‘rubygems’
require ‘mechanize’

Thats the way…mechanize would work properly.

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…


Eric H. - [email protected] - http://blog.segment7.net

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