X
Xeno Campanoli
I tried installing with the old tarfile sequence using setup.rb, as I
couldn't get gems to work and there is apparently no yum install on
CentOS. When I went through the sequence found on
http://www.kitebird.com/articles/ruby-dbi.html#TOC_3, and then tried the
simple.rb script, I got:
% ruby simple.rb
/usr/lib/ruby/site_ruby/1.8/dbi.rb:344:in 'load_driver': Could not load
driver (no such file to load -- mysql) (DBI::InterfaceError)
from /usr/lib/ruby/site_ruby/1.8/dbi.rb:227:in '_get_full_driver'
from /usr/lib/ruby/site_ruby/1.8/dbi.rb:213:in 'connect'
from simple.rb:9
I presume I'm using old instructions or incomplete ones. Does anyone
have a more recent set of instructions, or can someone fill in my gap?
Sincerely, Xeno
couldn't get gems to work and there is apparently no yum install on
CentOS. When I went through the sequence found on
http://www.kitebird.com/articles/ruby-dbi.html#TOC_3, and then tried the
simple.rb script, I got:
% ruby simple.rb
/usr/lib/ruby/site_ruby/1.8/dbi.rb:344:in 'load_driver': Could not load
driver (no such file to load -- mysql) (DBI::InterfaceError)
from /usr/lib/ruby/site_ruby/1.8/dbi.rb:227:in '_get_full_driver'
from /usr/lib/ruby/site_ruby/1.8/dbi.rb:213:in 'connect'
from simple.rb:9
I presume I'm using old instructions or incomplete ones. Does anyone
have a more recent set of instructions, or can someone fill in my gap?
Sincerely, Xeno