installing ruby-dbi for mysql

R

Ralf Müller

Hi out there,

I want to use ruby-dbi with mysql.
so I installed ruby-mysql first, but ruby-dbi produces some error while
installation:

ram@lilith:~/src/ruby-dbi-all$ruby setup.rb config --with=mysql
entering config phase...
config done.
ram@lilith:~/src/ruby-dbi-all$ruby setup.rb setup
no such package or directory 'mysql'
try "ruby setup.rb --help" for usage
ram@lilith:~/src/ruby-dbi-all$cd /home/ram/local/lib/
ram@lilith:~/local/lib$find -name "mysql.rb"
../ruby/1.8/mysql.rb


Anything important I've forgotten?


many thanks
ralf
 
F

Francis Hwang

Whenever I have to do this it takes me a couple of tries to get it
right. How about trying

ruby setup.rb config --with=dbi,dbd_mysql

for the first step.
 
R

Ralf Müller

Well......

that's it. And i've just found it in the documentation.

Hmm... I should try to get some sleep. (-,-)...zZ

thanks francis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top