Newbie help: rails runtime error, a series of mistakes, very entanglements, sos!

I use the environment is Apatana, a blog system, you can start the server.
Enter the URL of the
Then in the Apatana console to display error information:
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
Each send a request will occur once the above information, the page error!

Then the online help, supposedly
activerecord-jdbc-adapter-0.9.gem ,
jdbc-mysql-5.0.4.gem ,
Installed, or useless!

Into the console, run db:migrate times.:
NoMethodError: undefined method `db' for #<Object:0x284f9e8>
from (irb):1

Originally built environment to do graduate design, now do not know how to start! Please do me a favor which prawns!!! I thank you in here!!!!!

Started by Mars at November 09, 2016 - 3:56 PM

Please see the following error, mysql.rb driver from the rails 2.2 was removed after the.

In the console, run gem install MySQL

Posted by Barret at November 22, 2016 - 4:14 PM

The reply to 2011-05-13 11:50:02 was a moderator to delete

Posted by Clarence at December 03, 2016 - 4:35 PM

rake db:migrate

Posted by Primo at December 15, 2016 - 5:33 PM

Don't get into the ruby console, is entering the system console.

On the other, web site should be It...

Posted by Armand at December 27, 2016 - 5:42 PM

Have a look where you use DB this method. No DB this method.

Posted by Primo at January 07, 2017 - 5:51 PM

As in the console input gem query to check whether the installation of MySQL driver package, this package: mysql-2.8.1-x86-mingw32.gem version, but the other, and I hope to help you

Posted by Carol at January 08, 2017 - 6:31 PM

Recommended in the windows is a virtual machine, using Linux development. Development of installation of the rails3 version of the. Reference book<<Agile Web Development with Rails (4th edition)>>

Posted by Serena at January 09, 2017 - 7:22 PM

In the window the first installation MySQL gem driver package in the MySQL installation directory under the bin libmysql.dll file copy of the ruby installation directory under the bin directory

Posted by Carol at January 14, 2017 - 5:59 PM