Installing ruby-dbi for mysql

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

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.

···

On Nov 10, 2004, at 9:48 AM, Ralf Müller wrote:

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

Well......

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

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

thanks francis

Francis Hwang wrote:

···

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.

On Nov 10, 2004, at 9:48 AM, Ralf Müller wrote:

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