Doing Rails development on Windows just plain sucks. Here's another reason why. Upon upgrading to Rails 2.2.2, I started getting mySQL errors. For one, the Ruby-based mySQL gem is no longer included with Rails 2.2.2. Secondly, the Windows mySQL gem is broken and doesn't install its help docs. Here's what helped me get back up and running:
1. Install the Windows mysql gem (gem install mysql) with the --no-rdoc and --no-ri options.
2. Copy libmysql.dll from your mysql/bin installation to your ruby/bin installation. No clue why. Just do it.
[Reference]
Tuesday, January 13, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment