Topic: problems with mysql - scaffold

Hi I just installed ruby on rails and mysql 5.0.41 on mac os X.
And now I have problems using:
<<
ruby script/generate scaffold message msgboard
>>
... This is the error I get:

<<
dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
  Referenced from: /usr/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle
  Reason: image not found
>>

After googling I found some others with the same problem.. and tried this:

<<
sudo install_name_tool -change /usr/local/mysql/lib/mysql/lib/mysql/libmysqlclient.15.dylib /usr/local/mysql/lib/libmysqlclient.15.dylib /usr/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle
>>

this has not helpeld m in anyway.. still get the same error...

I hope someone can help me smile