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 having the same problem on Snow Leopard and, after some time I
> did the following:
> 
> Removed all mysql gems I had:
> 
> gem uninstall mysql
> 
> In my case I had to specify both mysql-dir and mysql-config (and -arch
> x86_64 to 64 bits)
> 
> export ARCHFLAGS="-arch i386 -arch x86_64" ; gem install --no-rdoc --
> no-ri mysql -- --with-mysql-dir=/usr/local --with-mysql-config=/usr/
> local/mysql/bin/mysql_config
> 
> Hope it works

-- 
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