Mounarajan
Mounarajan

Reputation: 1427

Gem installation error during MYSQL gem installation in ruby

I tried to install ruby gems in my windows 8 but i shows some error after someone told to use another way as given below

subst X: "C:\Program Files\MySQL\MySQL Server 5.6\bin" gem install mysql2 --platform=ruby -- --with-mysql-dir=X: --with-mysql-lib=X:\lib\opt subst X: /D

i tried using this ways everthing works but one error that is

mysql.h is missing

now what to do with this error?

Upvotes: 0

Views: 66

Answers (1)

usha
usha

Reputation: 29349

You need to install mysql before installing mysql gem. Follow this link on how to install mysql on windows

Upvotes: 1

Related Questions