Jan
25
2009
MySQL error (undefined method `each) with Rails 2.2.x
Posted by Chirag Patel in Errors, Insights at 4:28 AMrake aborted! undefined method `each' for #<Mysql:0x5cdda84>
Realized from this post, that downgrading from MySQL 5.1.x to 5.0.x will do the trick.
After downgrading, copy this file
rake aborted! C:/Program Files/MySQL/MySQL Server 5.0/bin/libmysql.dll to this directory: C:/Ruby/bin/libmysql.dll

Entries (RSS)
Obrigado,
Funcionou para mim.
[Reply]
Thanks for the help. I was banging my head on the wall for the last 3 hours on this. Replaced that dll did the trick.
[Reply]