Error when trying to install app with mysql2 gem

前端 未结 11 1981
鱼传尺愫
鱼传尺愫 2020-12-02 06:52

Im trying to install an open source rails 3.2.21 application that uses the mysql2 gem, but when i try and run the bundle commant I get the followin

11条回答
  •  一个人的身影
    2020-12-02 07:45

    I found that I had to use --with-opt-dir=/usr/local/opt.

    Specifically, I added the following to my ~/.bundle/config file:

    BUNDLE_BUILD__MYSQL2: "--with-opt-dir=/usr/local/opt"
    

提交回复
热议问题