I bought the latest episode on the day it was released and really enjoyed it. I’ve just started implementing the techniques in a current project, but, my setup seems to be having some problems running the Populator gem. When I run the rake db:populate, I see the following error (the gem is installed);
rake aborted! Could not find RubyGem echoe (>= 0)
This happens in any Rails environment, on my own app, and on the cinemas app code I downloaded. I haven’t noticed issues with any other gems yet. The only issues I could possibly relate to it are;
- I recently updated my RubyGems –system (although no other problems since)
- script/dbconsole has issues with the mysql setup;
Neil$ script/dbconsole Couldn't find database client: mysql5, mysql. Check your $PATH and try again.
…and I just followed an instruction on the Hivelogic MySQL installation - it seems as though Rails can, at least, find the path to mysql, but it still won’t load dbconsole;
Neil$ script/dbconsole ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
MySql has been running ok despite this (except it seems to have been swapping foreign_keys from INT to BIGINT on this project - but not all my apps) and I can run all usual DB related rake/script commands without any issues (and the database.yml file is using passwords and the correct user name for mysql).
I don’t know if either of those are related but, maybe they’ll help in the troubleshooting. Any ideas?