0
安裝mysql2在使用MySQL作爲數據庫中創建Rails應用程序,我收到以下錯誤失敗而創建的軌道新的應用程序
...
...
Installing mysql2(0.3.13)
Gem:Installer::ExtensionBuilderError: ERROR: Failed to build gem native extension
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for rb_thread_blocking_region
checking for rb_wait_for_single_fd<>... yes
checking for rb_has_dup<>... yes
checking for rb_intern3<>... yes
***extconf.rb failed ***
Could not create Makefile due to some reasons, probably lack of necessary libraries and/or headers. Check the mkmf.log for more details. You may need configuration options
不過,如果我使用默認的SQLite數據庫,是沒有問題的
My OS & MySQL information
OS:Winodows 8 64bit
MySQL: 5.6(64 bit)