Re: Re: Re: Rails 3 not working with windows 7

Manish Nautiyal
2010-09-08T17:46:49Z

Manish Nautiyal wrote:
> radhames brito wrote:
>> Then it could be that mysql2 is not supported
>
>
> Then wht the solution?

From surfing net for so long what I got is this.

The mysql2 gem does not currently support Windows (although I hear they
are working on it). Just use the old mysql gem for now.

To be specific:

   1.

      Put this line in your Gemfile:

      gem ''mysql'', ''2.8.1''
   2.

      Run bundle install
   3.

      Make sure you use adapter: mysql and not adapter: mysql2 in your
database.yml.

This is how my system is currently set up, and it works fine with Rails
3.0.0.