Use of MySQL on Ruby under Netbeans Problem

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′

原文地址:https://www.cnblogs.com/bigger/p/2121995.html