Forum: Ruby on Rails Error during rake db:migrate

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Acb42a0e563bffaaf94ea2d07fbb1d8e?d=identicon&s=25 Tushar Gandhi (tushar_gandhi)
on 2009-03-02 08:44
Hi,
   I am using rails 2.2. I am getting an error during migration.
Whenever I am running "rake db:migrate", I am getting an error

"(in E:/Rails2.2/rails_demo)
!!! 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!
126: The specified module could not be found.   -
E:/ruby/lib/ruby/gems/1.8/gems
/mysql-2.7.3-x86-mswin32/ext/mysql.so
"
I installed mysql gem by using "gem install mysql".
My gem list is ::
*** LOCAL GEMS ***

actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2)
cgi_multipart_eof_fix (2.5.0)
fxri (0.3.6)
fxruby (1.6.12)
gem_plugin (0.2.3)
hpricot (0.6)
log4r (1.0.5)
mongrel (1.1.2)
mysql (2.7.3)
rails (2.2.2)
rake (0.8.3, 0.7.3)
ruby-debug-base (0.10.0)
ruby-debug-ide (0.1.10)
rubygems-update (1.3.1)

Can any help me out to solve this error?
Thanks,
Tushar
0348be81e22f24afdaa6e4f137aa9dfc?d=identicon&s=25 Priya Buvan (priyadharsini)
on 2009-03-02 09:54
 update your mysql version and check
Af10464d988bde1b15b1a324237bad84?d=identicon&s=25 Dharmdip Rathod (dharmdip)
on 2009-03-06 11:50
install gem 'name '
=>gem install mysql or dowanload for your rails version and install
locally from rubyforge and put it in your root directory

c:/<rails root>/gem install -l mysql
This topic is locked and can not be replied to.