From: David D'Andrea Date: 2003-06-23T23:12:01+09:00 Subject: Newbie dbi install problem Hello everyone; I'm just starting out, reading the pickaxe, this forum, and trying to get a handle on OOP/design patterns. I'm hoping to use Ruby for database applications, as I've been going crazy with unstructured code in FileMaker (!!!). I've just installed dbi (this on OS X): [Chiclet:~/Desktop] davidd% tar -xzvf ruby-dbi-all-0.0.20.tar.gz [Chiclet:~/Desktop] davidd% cd ruby-dbi-all [Chiclet:~/Desktop/ruby-dbi-all] davidd% ruby setup.rb config --with=dbi,dbd_mysql (setup fails if I don't specify --with, I suppose because of missing modules???) [Chiclet:~/Desktop/ruby-dbi-all] davidd% ruby setup.rb setup [Chiclet:~/Desktop/ruby-dbi-all] davidd% sudo ruby setup.rb install (used sudo because otherwise got permission errors) but the test script from Paul DuBois' tutorial (http://www.kitebird.com/articles/ruby-dbi.html) doesn't execute correctly: [Chiclet:~/Rubydev/dbi] davidd% ruby simple.rb /sw/lib/ruby/site_ruby/1.6/dbi/dbi.rb:502:in `load_driver': Could not load driver (undefined method `Driver' for nil) (DBI::InterfaceError) from /sw/lib/ruby/site_ruby/1.6/dbi/dbi.rb:392:in `_get_full_driver' from /sw/lib/ruby/site_ruby/1.6/dbi/dbi.rb:372:in `connect' from simple.rb:7 MySQL itself (Ver 3.23.52-entropy.ch) seems to be fine, I've created appropriate user... Any clues for the clueless would be greatly appreciated! David