I've set up on Windows 7 Eclipse with ruby and radrails and want to use
MySQL as a database.
I've executed: gem install mysql2
And changed the database.yml

I have tried to use MySQL 5.5 and 5.1 and the error still exists.

rake aborted!
Please install the mysql adapter: `gem install
activerecord-mysql-adapter` (mysql is not part of the bundle. Add it to
Gemfile.)

I've also copia a libmysql dll into de ruby .bin folder.

Any help? I have searched everywhere and cant get it fix.
How and where in the gem file do I add what?

On another note, if I have 2 tables, one with its primary key being a
foreign key, does RoR automatically create a <columname_to> on that
table?

Thanks in advance, im stuck :/

Attachments:
http://www.ruby-forum.com/attachment/7225/rake.jpg


-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to