Add mysql2 gem support and fix use_inline