Hi there
I know it's something silly but have you tried to include a require
sentence for MysqlCompat::MysqlRes (I lose a lot of time with a
'NameError' problem like this and it was a missing require
Knd Rgds
Miquel
On Mon, 29 Mar 2010 09:26:45 -0500
Jeffrey L. Taylor wrote:
> Quoting twittwit <[email protected]>:
> > I got the following error.
> >
> > /Users/bryan/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/
> > dependencies.rb:442:in `load_missing_constant': uninitialized constant
> > MysqlCompat::MysqlRes (NameError)
> >
> > I tried to do the following :
> >
> > "sudo env ARCHFLAGS="-arch x86_64" gem install mysql"
> >
> > and
> >
> > "sudo gem install mysql"
> >
> > but it doesn't work. any suggestion as to how to solve this?
> >
>
> "It doesn't work" is not very informative. How doesn't it work, same error
> message as before, or the MySQL gem doesn't install (please give error message
> if so). What platform are you on (Linux, Windows, Mac OSX). More detail is
> needed to help you.
>
> Jeffrey
>
> --
> 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.
>
--
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.