On Apr 8, 6:17 am, "Dustin G." <li...@ruby-forum.com> wrote:

> !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
> install the mysql gem and try again: gem install mysql.
> rake aborted!
> dlopen(/Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle, 9):
> Library not loaded: libmysqlclient.18.dylib
>   Referenced from:
> /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
>   Reason: image not found -
> /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
>
> I've been Googling for hours, and all the solutions I'm being presented
> with are not working. I've tried running this:
>
> sudo install_name_tool -change libmysqlclient.18.dylib
> /usr/local/mysql/lib/libmysqlclient.18.dylib mysql.bundle
>
> And that did not work. Or maybe I'm not using it right. Can someone
> please point me in the right direction or help me come up with another
> solution? I've been trying to get my development environment going for
> almost a week now and am about to go NUTS (lmao!).
>

Worth checking that everything is compiled for the same architecture
(mysql.bundle, libmysqlclient etc.) and that there aren't any weird
permissions things stopping ruby from reading the file.

Fred
> Anyhow ... any help is much appreciated.
>
> Thank you for your time!
>
> - Dustin
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to