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
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
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.
On 10/2/06, mxbrunet <maxime.brunet@gmail.com> 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?
--
There was only one Road; that it was like a great river: its springs
were at every doorstep, and every path was its tributary.
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 Oct 3, 8:47 am, hemant <gethem...@gmail.com> wrote:
On 10/2/06, mxbrunet <maxime.bru...@gmail.com> 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.
--
There was only one Road; that it was like a great river: its springs
were at every doorstep, and every path was its tributary.
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
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...
On Oct 4, 2006, at 2:00 PM, mxbrunet wrote:
On Oct 3, 8:47 am, hemant <gethem...@gmail.com> wrote:
On 10/2/06, mxbrunet <maxime.bru...@gmail.com> wrote:
--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
A: Yes
Q: Is top-posting bad?
— Derek Milhous Zumsteg
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 10/5/06, Eric Hodel <drbrain@segment7.net> wrote:
On Oct 4, 2006, at 2:00 PM, mxbrunet wrote:
> Thanks for your help. I found my problem. I was supposing that webrick
> was autotically installed with rubyIt 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...