I am completely new to RoR...i did all my isntalling a few days ago and am now going through some tutorials...I got a similar error with mysql...
"dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from: /usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/mysql.bundle
Reason: image not found"
The difference between mine and the rest is that the path to "mysql.bundle" is different than the rest...it is in /usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/
should it be there?
I edited the command to fix the problem and it worked...here is what I used to fix my problem...
sudo install_name_tool -change /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib /usr/local/mysql/lib/libmysqlclient.15.dylib /usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.10.1/mysql.bundle
PLEASE let me know if the mysql.bundle should be in " /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/"
Thanks a ton guys!
for the record...Im running Mac OS 10.4.9