Gary Doades wrote: > David Franklin wrote: >> to RoR would be so frustrating - particularly creating the environment. >> rake aborted! >> undefined method `each' for #<Mysql:0x5cdda84> >> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:414:in >> `tables' > > What version of MySQL is this? I have had similar problems with MySQL > 5.1 and the mysql gem with ActiveRecord. Switching back to MySQL version > 5.0.67 and re-installing the MySQL gem seemed a lot better. > > I mainly use postgresql anyway which has no such problem nuder Windows > or Linux. > > Cheers, > Gary.
It's MySQL 5.1. I'll try backing out to MySQL 5.0 and reinstall the gem. Thanks for the help. I was naive about how challenging setting up the environment would be. I'll keep you posted. Thanks again. -- 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 -~----------~----~----~----~------~----~------~--~---

