2013-07-29 3 views
0

을 만드는 동안 mysql2를 설치하지 못했습니다 데이터베이스로 MySQL을 사용하여 레일 응용 프로그램을 작성하는 동안, 나는 기본 SQLite 데이터베이스를 사용하는 경우, 문제레일 새로운 응용 프로그램

이없는,

... 
... 
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 

그러나 다음과 같은 오류를 얻을

My OS & MySQL information 
OS:Winodows 8 64bit 
MySQL: 5.6(64 bit) 

답변

0

불행히도 mysql2 gem에 문제가있다면, mysql2 gem을 설치해야합니다. config/database.yml과 gemfile의 mysql2/sqlite에서 mysql을 수정 한 후에 번들을 설치해야합니다.

관련 문제