I’m learning from the book ‘beginning ruby on rails e-commerce’, and i
just got to the point of running my first migration.
When I run rake db:migrate (as it says in the book), I see this:
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
PS: emporium is the name of the example app.
What can I do to solve this seemingly simple error?
I’m not familiar enough with mysql or ruby to dig around without
thanks in anticipation.