Again and again: no such file to load -- mysql

Hello!
I’ve got same problem! Can’t continue working with Rails!
I have OSX 10.5.6. Mysql 5.0.67, Latest Ruby , Rubygems, Rails 2.2.2,
and mysl gem 2.7 installed in this way
sudo env ARCHFLAGS="-arch i386" gem install mysql – --with-mysql-
dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-
mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/
mysql/bin/mysql_config

when I do rake db:migrate

!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load – mysql

I’ve been googling for 3 days and none of the solutions work for me.
I’ve reinstalled mysql ,ruby and rails several times… got same
error. Please help!
Thanks beforehand

Have you ensured whether your mysql services are running

Regards,
Vimal

Sure, mysql starts at startup, there is a mysql task in Activity
Monitor, so mysql works, I can create and drop databases. I guess it’s
different problem, something wrong with mysql.rb driver, although
mysql 2.7 gem installed successfuly…

Try this:

I have already tried this , the one for Leopard (I have 10.5.6)
Today i reinstalled ruby ,rubygems, rails, mysql gem… it gives me
same error all the way!!!

!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load – mysql

I don’t know what to do… Perhaps formating harddrive to non case-
sensitive filesystem, and reinstalling entire system is the last I can
do… I tried many ways…
Didn’t you, guys having Leopard, encounter this problem with
mysql.rb??? did you? Windows users have solution fixing this bug with
some .dll, why Mac users don’t have it?

Who had the same please assist! plsssss

UPDATE:
I tried to install mysql gem in this way:

sudo env ARCHFLAGS="-arch i386" gem install mysql – --with-mysql-
dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-
mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/
mysql/bin/mysql_config --include-dependencies

and the error has gone somehow… Could “–include-dependencies” make
this?