Ubuntu で Rails のDBに MySQLを使いたい PostgreSQL, sqlite3 ばっかり使ってる rake db:migrate してもエラーがでる -> mysql を使う環境が整ってないんじゃ... $ rake db:migrate ERROR: Failed to build gem native extension.inohiro@ubuntu:~$ sudo gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for mysql_query(
![2010-07-06](https://cdn-ak-scissors.b.st-hatena.com/image/square/06a15c64ba0ceec233d86d71001ebb29a9dcbf5d/height=288;version=1;width=512/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Ftheme%2Fog-image-1500.png)