我从这里http://sourceforge.net/projects/cream/files/Vim/得到了 Vim without Cream 7.3.744 。当我看:help ruby-dynamic
它时说:
You need to install the right version of Ruby for this to
work. You can find the package to download from:
http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
Currently that is ruby-1.9.1-p429-i386-mswin32.zip
Currently the name is "msvcrt-ruby191.dll".
The name of the DLL must match the Ruby version Vim was
compiled with. Currently the name is "msvcrt-ruby191.dll".
That is for Ruby 1.9.1. To know for sure edit "gvim.exe" and
search for "ruby\d*.dll\c".
但它不适用于 ruby-1.9.1-p429-i386-mswin32.zip,:echo has('ruby')
返回 0。
当我查看 gvim.exe 时,它说 dll 是msvcrt-ruby19.dll
,注意19.dll
不是191.dll
。但我找不到包含该文件的 Ruby 版本。甚至 Ruby 1.9.0 也有一个名为msvcrt-ruby190.dll
. 我尝试只是重命名 dll,但它只会导致另一个错误,即:
LoadError: incompatible library version -
C:/Program Files/Ruby19/lib/ruby/1.9.1/i386-mingw32/socket.so
我在哪里可以找到正确版本的 Ruby?或者我可以通过其他方式解决这个问题吗?