Add mysql2 gem support and fix use_inline

Useful with database cookbook.