Error installing mysql2: Failed to build gem native extension


Windowsxp. Ruby192. Rails installed. Mysql installed. When I try to run gem install mysql2 (or bundle install) I get errors:

C:\ruby\cred2>gem install mysql2
Building native extensions.  This could take a while...
ERROR:  Error installing mysql2:
        ERROR: Failed to build gem native extension.


The mysql2 gem v.0.2.6 is out, having win32 support.

gem install mysql2 worked without problems now (DevKit installed).

See: http://github.com/brianmario/mysql2/issues/issue/8#issue/8/comment/479748

Advertisements

One thought on “Error installing mysql2: Failed to build gem native extension

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s