When I run this command, I got this error
$ sudo gem install mysql2
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
software installation
When I run this command, I got this error
$ sudo gem install mysql2
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
Best Answer
You need to install a few mandatory packages for gem to work. Should be ...
and after that
will work.
Source.