Quando provo rake db: migrate, ottengo il seguente errore:Problema installazione di MySQL gemma su Fedora
The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
rake aborted! no such file to load -- mysql
E quando cerco di gem install mysql
Building native extensions. This could take a while... ERROR: Error installing
mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb
Can't find header files for ruby. Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection.
$ sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
ha anche stato provato ma lo stesso errore. Sono su Fedora 10. L'aiuto sarà molto apprezzato.
Funzionante. Grazie ! – Shreyas
Avevo praticamente tutto esattamente uguale, tranne per l'installazione del pacchetto gcc. Per qualsiasi ragione, questo ha fatto il trucco nel mio caso. – emptyset
Un anno dopo questa risposta mi ha aiutato immensamente! – Spencer