Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > no such file to load -- dbi (LoadError) ?

Thread Tools

no such file to load -- dbi (LoadError) ?

Posts: n/a

I'm trying to run a ruby script from the command line (using version
1.8.6 on Fedora linus). But this line:

require 'dbi'

is giving me the error:

[me@mymachine]~/w/easyrx% ruby email.rb
`gem_original_require': no such file to load -- dbi (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require'
from email.rb:8

What do I need to install/configure to overcome this problem?

Thanks, - Dave
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DBI Mysql storing DBI:binary, trouble with character 26 Jerome Hauss Ruby 0 10-13-2004 03:04 PM
DBI and DBI::Oracle packages configuration ulloa Perl 1 07-22-2004 05:52 PM
DBI problem : How can I load quickly one huge table with DBI ??. Tim Haynes Perl Misc 3 09-13-2003 03:43 AM
Mason, DBI, and DBI::Pg Asby Perl Misc 0 07-24-2003 09:04 PM