I have been trying to connect to MySQL thru rails. Initially I had
rails 2.1.2 and upgraded to rails 2.2 to use RestAPI in sproutcore.
Once I have upgraded my rails version to 2.2, I have been getting this
error. All I did is the following:
- rails addressbook
- cd addressbook
- script/generate scaffold Contact first_name:string lastname:string
- rake db:migrate
I also change the database.yml to suite MySQL.
I have been getting the below error. Could someone please help me
resolve this issue
srilatha-bhuvanapallis-macbook-pro:contacts Latha$ rake db:migrate(in /
!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
no such file to load – mysql
(See full trace by running task with --trace)
Thanks in advance