Rails 2.2 MySQL removed error SOLUTION
by protech_v2 » Mon Dec 15, 2008 8:04 pm
If at any point when you've upgraded to Rails 2.2. you get the following error on Windows:
"!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql."
the problem is because MySQL 5.1 client library doesn't play well with Rails - the solution is simple however:
- download older MySQL client library, for example one from InstantRails: http://instantrails.rubyforge.org/svn/t ... bmySQL.dll
- copy the downloaded file to C:\Ruby\bin (or wherever you installed Ruby)
- restart MySQL server
That's it! Just thought I'd share this with others, lost me an hour of researching.