Rubyrailsdevkitsqlite3 environment dependencies installed with railsinstaller have been installed now want to try mysqlC: windowssystem32 & gt; railsnewE: rubykk10-dmysqlInstallingmysql2 (0.3.13) Gem: Installer: ExtensionBuildError: ERROR: warning. f: railsRailsInstalle... mysqlgemrailsrailsinstallerruby
Ruby rails devkit sqlite3 on which the environment installed with railsinstaller depends has been installed
Now I want to try mysql
C: \ windows \ system32> rails new E: \ ruby \ kk10-d mysql
Installing mysql2 (0.3.13)
Gem: Installer: ExtensionBuildError: ERROR: Failed to build gem native extension
.
F:/rails/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
Checking for rb_thread_blocking_region ()... yes
Checking for rb_wait_for_single_fd ()... yes
Checking for rb_hash_dup ()... yes
Checking for rb_intern3 ()... yes
* ** Extconf. rb failed ***
Cocould not create Makefile due to some reason, probably lack
Necessary libraries and/or headers. Check the mkmf. log file for more
Details. You may need configuration options.
In addition:
C: \ windows \ system32> gem install mysql2
Temporarily enhancing PATH to include DevKit...
Building native extensions. This cocould take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
F:/rails/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
Checking for rb_thread_blocking_region ()... yes
Checking for rb_wait_for_single_fd ()... yes
Checking for rb_hash_dup ()... yes
Checking for rb_intern3 ()... yes
* ** Extconf. rb failed ***
Cocould not create Makefile due to some reason, probably lack
Necessary libraries and/or headers. Check the mkmf. log file for more
Details. You may need configuration options.
Thank you for your guidance.
I have tried to install the mysql path.