« Return to Thread: Using DBI and MySQL gems

Re: Using DBI and MySQL gems

by Erik Hollensbe :: Rate this Message:

Reply to Author | View in Thread

Owein Herrmann wrote:

> so, when I start ruby, rubygems is already included? Interesting.
>
> adding "require('irb') makes everything work. So my real problem is that
> this is not how it says to do it in the 'book', and so I am concerned
> that something might not be set up right.

Nah, the book is just old. :) I'm fairly certain I never built an
autorequire into the DBI gems, which is at least part of the problem.
I'm not sure changing it would be a solution, however.

-Erik
--
Posted via http://www.ruby-forum.com/.

 « Return to Thread: Using DBI and MySQL gems