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 2011-07-30 15:28  出血者  阅读(174)  评论(0编辑  收藏  举报