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(