Please install mysql adapter 'gem install activerecord-mysql-adapter'

前端 未结 16 1477
挽巷
挽巷 2020-12-28 12:23

I\'m having trouble finding a solution to this problem. I\'m getting the error:

Please install the mysql adapter: \'gem install activerecord-mysql-adapter\'
         


        
16条回答
  •  爱一瞬间的悲伤
    2020-12-28 12:55

    If nothing helps (you have mysql2 as adapter in your database.yml) and you are using RVM to manage your ruby versions, here is the simplest solution:

    Try to remove all of your old gemsets (including global), install a fresh ruby version and bundle again. I could solve the problem that way.

提交回复
热议问题