Mysql2 Gem Issue

Hi

I am trying to migrate to Rails3 final release. I have the mysql2 -
0.2.3
gem installed.
While installing the gem, i got two weired notices:
Enclosing class/module ‘mMysql2’ for class Client not known
Enclosing class/module ‘mMysql2’ for class Result not known

Now on opening up the very first page (default public.html) i am
getting a TypeError:
can’t convert Fixnum into String

Looking at the trace (http://pastie.org/1126756), it seems to be a
problem
with mysql2 gem.

Any suggestions on what this issue is?

Sahil D.

Sahil D. <[email protected]…> writes:

HiI am trying to migrate to Rails3 final release. I have the mysql2 - 0.2.3
gem installed.While installing the gem, i got two weired
notices:Enclosing
class/module ‘mMysql2’ for class Client not known
Enclosing class/module ‘mMysql2’ for class Result not knownNow on opening up
the very first page (default public.html) i am getting a TypeError:
can’t
convert Fixnum into StringLooking at the trace
(http://pastie.org/1126756), it
seems to be a problem with mysql2 gem.Any suggestions on what this issue
is?–
Sahil D.

Has there been any response to this? I am getting the same error
Mac OS 10.6.4
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.3.0]
rails 3.0.0

Enclosing class/module ‘mMysql2’ for class Client not known

Enclosing class/module ‘mMysql2’ for class Result not known

Any ideas on where to go from here?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs