José Luis Romero wrote:
> Done! Same results...
> 
> uninitialized constant MysqlCompat::MysqlRes
> 
> Thanks... Any other approach?

Try setting ARCHflags.

OSX Snow Leopard will return the same results you're getting if you 
don't set the ARCHflags. You'll have to look them up for your system, 
but the syntax is something like this:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- 
--with-mysql-config=/usr/local/mysql/bin/mysql_config

When you get the ARCHflags parameter right, that should resolve your 
uninitialized constant issue.

If you then get the "No definition for [ResourceName]" ri and RDoc 
warnings/errors, first uninstall your gem again, and then you'll have to 
do something like this:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql --no-rdoc --no-ri -- 
--with-mysql-config=/usr/local/mysql/bin/mysql_config

http://forums.mysql.com/read.php?116,359591,359591#msg-359591

That may or may not be enough to get the mysql gem working in your 
environment. I'm still tracing out problems.

Regards,

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