Require Statement Problem

M

Matt White

Hello,

I am trying some things from irb and having trouble loading the
mechanize library. When I do gem list, it is in the list as:

mechanize (0.6.10, 0.6.9)
Mechanize provides automated web-browsing

But if I go to the irb prompt and do require 'mechanize', I get:

irb(main):001:0> require 'mechanize'
LoadError: no such file to load -- mechanize
from (irb):1:in `require'
from (irb):1

What have I got wrong?
 

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

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,085
Members
48,773
Latest member
Kaybee

Latest Threads

Top