I can't run “bundle update” because of “mysql2” gem

后端 未结 5 1700
庸人自扰
庸人自扰 2021-02-14 14:29

I have this in the Gemfile:

gem \'mysql2\'

But when I run bundle update, I get this error message:

An error oc         


        
5条回答
  •  别那么骄傲
    2021-02-14 14:52

    Add this in Gemfile:-

    gem 'mysql2', '0.3.16'
    

    Then:-

    bundle install
    

    After that try:-

    bundle update
    

提交回复
热议问题