I'm trying to install mysql or mysql2 gem but it's not working.
I have already installed ruby-mysql.
Does this gem have the same features as the mysql2 gem?
I'm trying to install mysql or mysql2 gem but it's not working.
I have already installed ruby-mysql.
Does this gem have the same features as the mysql2 gem?
mysql is offered as gem for easy installation using RubyGems. It wraps unmodified tmtm's mysql-ruby extension into a proper gem. Please note that tmtm (Tomita Mashahiro) has deprecated development of this extension and only update it for bug fixes.
Read definition of mysql gem, and ruby-mysql gem.
Read difference from mysql, and mysql2 from this link.
You need to install the adapter:
gem 'activerecord-mysql2-adapter', '~> 0.0.3'