Andrew McDonough wrote:
> These instructions also worked for me after upgrading to Snow Leopard. 
> In my case mysql was in /opt/local/lib/mysql5, so the following fixed it 
> for me:
> 
> sudo gem uninstall mysql
> 
> export ARCHFLAGS="-arch i386 -arch x86_64" ; gem install --no-rdoc 
> --no-ri mysql -- --with-mysql-dir=/opt/local/lib/mysql5 
> --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config

I was able to get the mysql gem to compile by doing something like that; 
but then I found that, for whatever reason, /tmp/mysql.sock did not 
exist (and so my rake tasks failed, etc).  I followed instructions on 
the Rails blog to install MySQL from a DMG, and then /tmp/mysql.sock 
existed as expected.

HTH.
-- 
Posted via http://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to