How to use “mysql2” gem in Rails 3 application on Windows 7?

前端 未结 6 1079
北恋
北恋 2020-12-28 10:35

I try to install the mysql2 gem on Windows 7 32-bit.

I run:

gem install mysql2

and I get the following error:

6条回答
  •  情书的邮戳
    2020-12-28 11:24

    Try XAMPP from apachefriends.org, be sure to download the full version and you will find "lib", "bin", "include" and other MySQL directories. For further details, refer to -

    http://rorguide.blogspot.com/2011/03/installing-mysql2-gem-on-ruby-192-and.html

提交回复
热议问题