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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
36c0711eda1db9baed537815c963023a?d=identicon&s=25 the dude (Guest)
on 2007-07-01 23:24
(Received via mailing list)
Hi.

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.
15.dylib
Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/
mysql.bundle
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.