How do I install the Rails MySQL adapter?

前端 未结 5 512
Happy的楠姐
Happy的楠姐 2021-01-02 08:52

There\'s not much more to my question than that. gem install mysql doesn\'t work and I haven\'t found anything by Googling.

When I try gem install

5条回答
  •  温柔的废话
    2021-01-02 09:12

    I assume you are working with Rails.

    In your Gemfile:

    gem 'mysql2'
    

    Then in your terminal:

    bundle
    

提交回复
热议问题