我知道我之前在相同的硬件/操作系统上得到了这个工作,但今天我被卡住了。
对于 1.9.3,我得到:
$ gem install unf_ext --version=0.0.5
Successfully installed unf_ext-0.0.5-x86-mingw32
Installing ri documentation for unf_ext-0.0.5-x86-mingw32
1 gem installed
User@Jake ~
$ ruby -e "require 'unf_ext'"
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- unf_ext.so (LoadError)
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/unf_ext-0.0.6-x86-mingw32/lib/unf_ext.rb:4:in `rescue in <top (required)>'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/unf_ext-0.0.6-x86-mingw32/lib/unf_ext.rb:1:in `<top (required)>'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:35:in `require'
from -e:1:in `<main>'
对于 2.0.0,我得到:
$ gem install unf_ext
unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/unf_ext.so, skipping
这是来自 rubyinstaller.org 的 rubies 以及推荐的 devkit 版本。
我也gem update --system
都做过。
谁能想到我错过的东西?