Raphael Petegrosso wrote:
> 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

I was able to resolve this issue. Thanks for your valuable suggestions.
Along with the above steps, I had to configure the LD_LIBRARY_PATH.
-- 
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