The formatting on that was crappy, here is a gist: http://gist.github.com/181012
On Sep 4, 11:40 am, Glenn Rempe <[email protected]> wrote: > Hi, Just to document this for future google searches. > > I was seeing the following errors on a clean install of Snow Leopard > with 64 bit Ruby 1.8.7 and 64 bit MySQL installed from the 10.5 64 bit > installer package on the MySQL site: > > LoadError: dlopen(/Library/Ruby/Gems/1.8/gems/do_mysql-0.9.12/lib/ > do_mysql_ext.bundle, 9): no suitable image found. Did find: /Library/ > Ruby/Gems/1.8/gems/do_mysql-0.9.12/lib/do_mysql_ext.bundle: mach-o, > but wrong architecture - /Library/Ruby/Gems/1.8/gems/do_mysql-0.9.12/ > lib/do_mysql_ext.bundle > > I was able to resolve by re-installing the mysql and do_mysql gems > with the following params. This should likely be added to the > documentation but I am not sure of the best location. > > sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql- > config=/usr/local/mysql/bin/mysql_config > sudo env ARCHFLAGS="-arch x86_64" gem install do_mysql -- --with-mysql- > config=/usr/local/mysql/bin/mysql_config > > Cheers, > > Glenn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
