I was able to install the MySQL gem using:
subst X: "C:\Program Files\MySQL\MySQL Server 5.6"
gem install mysql2 --platform=ruby -- --with-mysql-dir=X: --with-mysql-lib=X:\lib\opt
subst X: /D
Now I need to install the MySQL2 gem. Can some please help me?
I saw your other question about starting rails server.
My recommendation is that you train using Railstutorial. The link is here .
It will walk you through the process of getting a working environment running and writing Rails code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.