So, after many attempts, reading and pulling hair, I found out what the problem is, so I send it to those who may encounter the same situation.
The reason the bundler will not install mysql2 is because the stone was inside this platform structure, see below:
platforms :mri_19, :mingw_19 do group :mysql do gem "mysql2", "0.3.11" end end
So, all I did was move only the gem "mysql2", "0.3.11" by itself to the top of the Gemfile and run bundle install , and that did it! Mysql2 is now listed in the package list, and the rails application is now running.
Thanks to everyone who tried to help!
source share