我 cd ~回到根目录下面$ sudo gem install mysql2
但是被提示
Error installing mysql2
Error: failed to build gem native extension
...
extconf.rb failed
could not create Makefile due to some reason
...
Gem file will remain install in /usr/.../gems/1.9.1/gems/mysql2-0.3.11 for inspection