Forum: Ruby on Rails image not found -- rake db:migrate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
the dude (Guest)
on 2007-07-02 01:24
(Received via mailing list)

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:


(in /Users/me/dev/myapps/emporium/emporium)
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
Trace/BPT trap


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
breaking something.

thanks in anticipation.

the dude
This topic is locked and can not be replied to.