ruby on rails - Could not find gem 'mysql2'
I got the above issue when I tried to create a new project with rails and asked it to use mysql instead of the default sqlite database. Apparently, I didnt have mysql installed on my #mac. The following command did the trick.
brew install mysql
You get the command 'brew' from Homebrew which is a package manager for osx in case you didnt have it already.