Evan Green wrote:
> This didn't seem to fix the error for me.  I still get 'uninitialized 
> constant MysqlCompat::MysqlRes'
> 
> 
> Kyle Fox wrote:
>> To fix this, specify ARCHFLAGS when you install the 'mysql' gem:
>> 
>> sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-
>> config=/usr/local/mysql/bin/mysql_config
>> 
>> On Aug 27, 12:07�pm, Caleb Cullen <[email protected]>
> 
> 
> cheers,

on my Centos Machine, i had to install mysql-devel.x86_64 first, then i 
ran the command:

env ARCHFLAGS="-arch x86_64" gem install mysql -- 
--with-mysql-config=/usr/lib64/mysql/mysql_config

which did the trick.

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