Ruby gem mysql2 install error

后端 未结 9 1407
无人及你
无人及你 2020-12-05 08:10

I have the Ruby version ruby 1.9.2p0 (2010-08-18) [i386-mingw32] installed in Windows7. and the gem vesion 1.3.7

When i tried to install mysql gem, it is showing

相关标签:
9条回答
  • 2020-12-05 09:10

    key: the line that says You have to install development tools first. ref: devkit

    0 讨论(0)
  • 2020-12-05 09:10

    use

    gem install mysql
    

    for windows, till mysql2 get it right.

    0 讨论(0)
  • 2020-12-05 09:11

    You can try

    gem install mysql2 -v '0.0.00' -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
    
    0 讨论(0)
提交回复
热议问题