# Webrick/httpsutils missing?

**URL:** <https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748>\
**Category:** Ruby\
**Created:** [October 2, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748 "2006-10-02T16:27:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mxbrunet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@mxbrunet](https://www.ruby-forum.com/u/mxbrunet)\
**Post date:** [October 2, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748/1 "2006-10-02T16:27:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mxbrunet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@mxbrunet](https://www.ruby-forum.com/u/mxbrunet)\
**Post date:** [October 3, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748/2 "2006-10-03T14:49:38Z")

</div>

On 10/2/06, mxbrunet [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![mxbrunet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@mxbrunet](https://www.ruby-forum.com/u/mxbrunet)\
**Post date:** [October 4, 2006, 11:01pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748/3 "2006-10-04T23:01:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mxbrunet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@mxbrunet](https://www.ruby-forum.com/u/mxbrunet)\
**Post date:** [October 5, 2006, 11:21pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748/4 "2006-10-05T23:21:56Z")

</div>

On 10/5/06, Eric H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![mxbrunet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@mxbrunet](https://www.ruby-forum.com/u/mxbrunet)\
**Post date:** [October 5, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/webrick-httpsutils-missing/70748/5 "2006-10-05T19:15:17Z")

</div>

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. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)

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