gem install mysql 出错,谁知道这么解决

gem install mysql 出错,谁知道这么解决

无论我本地安装,还是远程安装,都出同样的错.
现在好像,mysql的适配器也有问题,rake db:migrate 最后也出错.
谁知道这么解决,谢谢.
C:\webDownLoad>gem install mysql-2.7.3-mswin32 -l
Successfully installed mysql-2.7.3-x86-mswin32
1 gem installed
php?name=Install" onclick="tagshow(event)" class="t_tag">Installing ri documentation for mysql-2.7.3-x86-mswin32...
Installing RDoc documentation for mysql-2.7.3-x86-mswin32...
ERROR: While generating documentation for mysql-2.7.3-x86-mswin32
... MESSAGE: Unhandled special: Special: type=17, text="<!-- $Id: README.html,v 1.20 2006-12-20 05:31:52
... RDOC args: --op D:/Program Files/ruby/lib/ruby/gems/1.8/doc/mysql-2.7.3-x86-mswin32/rdoc --exclude ext
(continuing with the rest of the installation)
引用:
Successfully installed mysql-2.7.3-x86-mswin32
1 gem installed
C:\rubydev\AWDR\depot>rake db:migrate
(in C:/rubydev/AWDR/depot)
rake aborted!
undefined method `each' for #<Mysql:0x38e3624>

(See full trace by running task with --trace)

另外发现,我uninstall mysql 后,
在migrate,报的错是一样的.
也就是说,有这个mysql (2.7.3),和没有,是一样的错
话说,某大侠建议我用,linxu
现在我的rails上,不能用mysql......无语中.....
我直接重装了ruby和rails.....火大....
你执行

[Copy to clipboard] [ - ]
把ruby,rails都重装了, 重新来过...
.....我win-xp的系统.现在都不敢敲gem install mysql.....
c:\ruby>gem install mysql --remote
Successfully installed mysql-2.7.3-x86-mswin32
1 gem installed
Installing ri documentation for mysql-2.7.3-x86-mswin32...
Installing RDoc documentation for mysql-2.7.3-x86-mswin32...
ERROR: While generating documentation for mysql-2.7.3-x86-mswin32
... MESSAGE: Unhandled special: Special: type=17, text="<!-- $Id: README.html,
v 1.20 2006-12-20 05:31:52 tommy Exp $ -->"
... RDOC args: --op c:/ruby/lib/ruby/gems/1.8/doc/mysql-2.7.3-x86-mswin32/rdoc -
-exclude ext --main README --quiet ext README docs/README.html
(continuing with the rest of the installation)

c:\ruby>