Install Ruby-DBI

Ruby-DBI offers a generic DB connection interface. To install, try the following:

% curl -o ruby-dbi-all-0.0.23.tar.gz
% tar zxvf ruby-dbi-all-0.0.23.tar.gz
% cd ruby-dbi-all
% ruby setup.rb config --with=dbi,dbd_mysql
% ruby setup.rb setup
% ruby setup.rb install    # as superuser


Ruby-DBI is a project in flux right now, and its documentation is scattered as a result. Check both the Rubyforge page and older SourceForge page if you need more info or help.