rake aborted!
Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load — active_record/connection_adapters/mysql2_adapter)

Need to change two files:

1. [project name] > Configuration > database.yml

change “adapter: mysql” to “adapter: mysql2″

2. [project name] > Gemfile

add:

gem:’mysql2′

Posted on   出血者  阅读(174)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示