I wanted to learn about Ruby on Rails and its advantages and I decided
to start with some tutorials.
Unfortunately I'm forced to post my problem on the forum after days of
I've installed Railsinstaller and mysql 5.5.15 64 bit version.
I'm running win 7. I've been using the following command:
C:\>gem install mysql2 -- --with-mysql-lib=C:\MySQL\lib
I've used this command and included path for Mysql 32 bit (lib, include
directories) but I constantly get the following error:
checking for rb_thread_blocking_region()... yes
checking for main() in -llibmysql... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
For what I understand it might be having problems finding the right
library for the install.
Any help is warmly appreciated. I've manage to create a working
application with SQLite, but I honestly prefer to use Mysql.
Thank you all!