Mysql2 Gem Issue

1 view
Skip to first unread message

Sahil Dave

unread,
Aug 30, 2010, 12:23:32 PM8/30/10
to rubyonra...@googlegroups.com
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 Dave

Anita Graham

unread,
Sep 25, 2010, 10:25:44 AM9/25/10
to rubyonra...@googlegroups.com
Sahil Dave <sahil.dave19@...> 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 Dave
>
>

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?

Reply all
Reply to author
Forward
0 new messages