mysql2 gem installation on linux

后端 未结 2 1497
悲&欢浪女
悲&欢浪女 2021-02-10 02:35

I am trying to install a gem on linux but it is giving me an error:

An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
Make sure tha         


        
2条回答
  •  隐瞒了意图╮
    2021-02-10 03:07

    I was using LInux 16 Cinnamon and got that error message. I used "Resure"'s, solution sudo apt-get install libmysql-ruby libmysqlclient-dev

    then ran bundle install for project.

    It worked!

提交回复
热议问题