Unable to install MySQL2 gem on Windows 7

前端 未结 7 1289
醉话见心
醉话见心 2020-12-01 14:39

I am getting the following error message while installing, let me know if I need to post more details.

I followed instructions from the following location: https:/

7条回答
  •  余生分开走
    2020-12-01 15:11

    After searching around for a way to make it work, I finally got it installed with the following on the command prompt:

    gem install mysql2 -v 0.2.6
    

    With the following results:

    Fetching: mysql2-0.2.6-x86-mingw32.gem (100%)
    Successfully installed mysql2-0.2.6-x86-minw32
    1 gem installed
    Installing ri documentation for mysql2-0.2.6-x86-mingw32...
    Enclosing class/module 'mMysql2' for class Client not known
    Installing RDoc documentation for mysql2-0.2.6-x86-mingw32...
    Enclosing class/module 'mMysql2' for class Client not known
    

    Try it. It should work.

提交回复
热议问题