mysql2
Windows732ビットに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"'
システム内でパスを正しいパスに変更する必要があることは理解していますが、WAMPMySQLインストールでlib\opt
およびディレクトリが見つかりません。include
私はWAMP2.1を使用しています。
お知らせ下さい。