postmodern/ffi-hunspell

ffi-hunspell on Windows

jfaset opened this issue · 4 comments

Hello,

On Windows,

gem install ffi-hunspell ... gem install ffi --platform=ruby ... gem install ffi-hunspell

Successfully installed ffi-1.13.1-x64-mingw32

Successfully installed ffi-hunspell-0.5.0

require 'ffi/hunspell'

--> C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- ffi/hunspell (LoadError)

...

i_lib': Could not open library 'hunspell-1.7': Le module sp�cifi� est introuvable.\r (LoadError)
.
Could not open library 'hunspell-1.7.dll': Le module sp�cifi� est introuvable.\r
.
Could not open library 'libhunspell-1.7.so.0': Le module sp�cifi� est introuvable.\r
.
Could not open library 'libhunspell-1.7.so.0.dll': Le module sp�cifi� est introuvable.\r
.
Could not open library 'hunspell-1.6': Le module sp�cifi� est introuvable.\r

....

Could not open library 'libhunspell-1.2.so.0.dll': Le module sp�cifi� est introuvable.\r

===============

Shall I Give up ?

Did you also install the hunspell DLL?

I don't have much experience running Ruby on Windows. You might consider trying Windows Linux SubSystem (WLS) or running in a Linux VM with VMWare Player.