MySQL Forums
Forum List  »  Ruby

The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again:
Posted by: Nitin Rajora
Date: November 18, 2009 07:28AM

Hi,

I am on Windows 5.1 (XP), on ruby1.8.6 p111, and rails 2.2.2 installed.
I have installed mysql 2.7.3-x86-mswin-32 gem, and then tried to generate some migration scripts, which worked fine in my New Netbeans project.
But when I ran db:migrate......it crashed saying

!!! 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. - c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so


whereas, I have confirmed the file is present and not empty.

Please guide me solve this.

Nitin

Options: ReplyQuote


Subject
Written By
Posted
The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again:
November 18, 2009 07:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.