반응형
Windows 7 32 비트에 mysql2
gem을 설치하려고합니다.
난 달린다:
gem install mysql2
다음과 같은 오류가 발생합니다.
ERROR: Error installing mysql2:
The 'mysql2' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
이 오류의 원인과 해결 방법에 대한 아이디어는 무엇입니까?
업데이트
gem install mysql2 --
'--with-mysql-lib="c:\Program Files\MySQL\MySQL Server 5.1\lib\opt"
--with-mysql-include="c:\Program Files\MySQL\MySQL Server 5.1\include"'
내 시스템의 올바른 경로로 경로를 변경해야한다는 것을 알고 있지만 WAMP MySQL 설치에서 lib \ opt
및 include
디렉토리를 찾을 수 없습니다. WAMP 2.1을 사용합니다.
조언하십시오.
해결 방법
apachefriends.org에서 XAMPP를 사용해보고 정식 버전을 다운로드하면 "lib", "bin", "include"및 기타 MySQL 디렉토리를 찾을 수 있습니다. 자세한 내용은-
참조 페이지 https://stackoverflow.com/questions/5775344
반응형
'MySql' 카테고리의 다른 글
MySQL mysql-LIMIT x, y로 업데이트 (0) | 2020.10.11 |
---|---|
MySQL 명령 줄에서 MySQL DB 생성 (0) | 2020.10.11 |
MySQL과 다른 (0) | 2020.10.11 |
MySQL이 존재하지 않고 동일하지 않습니까? (0) | 2020.10.11 |
MySQL 상위 쿼리의 필드를 참조하는 MySQL 하위 쿼리 (0) | 2020.10.10 |
댓글