I receive this error when running a rake command:
$ rake db:migrate
dyld: NSLinkModule() error
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/
Reason: image not found
I’m working with the book “Agile Web D. with Rails” and even
though it discusses many possible errors, none of them relate to this
one. Also, my database.yml file seems to be correct so I don’t think
that’s the problem.