Rails – gem install thesql doesn’t work on cygwin

rubygems

I tried to do

gem install mysql

but there is an error. "Could not create Makefile due to some reason…"

How do I fix this? I believe I installed mysql on cygwin.
Help!!

Best Answer

gem install mysql --platform x86-mingw32 works in cygwin