Ruby-1.9.3 Gem MYSQL2 successfully installed on Windows

Source: Internet
Author: User
Tags redmine

You may need to generate LIBMYSQLCLIENT.A from Libmysql.dll before: source


CD C:\xampp-1.8.3\mysql\lib
C:\DevKit-tdm-32-4.5.2-20111229-1559-sfx\devkitvars.bat
Pexports.exe Libmysql.dll > Libmysql.def

Source: C:\strawberry\c\bin\pexports. EXE Fortunately installed Perl, or do not know where to find this pexports tool under the
Dlltool--input-def libmysql.def--dllname libmysql.dll--output-lib libmysqlclient.a-k


C:\redmine-2.6.0>gem install MYSQL2--version=0.3.16--platform=ruby----with-mysql-include=c:\xampp-1.8.3\mysql \include--with-mysql-lib=c:\xampp-1.8.3\mysql\Lib

Building native extensions. This could take a while ...
Successfully installed mysql2-0.3.16
1 Gem installed
Installing RI documentation for mysql2-0.3.16 ...
Installing RDOC documentation for mysql2-0.3.16 ...

CD c:\redmine-2.6.0

Bundle Install


Ruby-1.9.3 Gem MYSQL2 successfully installed on Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.