Ferret install on WinXP fails - procedure entry point rb_w32

Hello. I’m trying to use the ‘acts_as_ferret’ gem with Rails.

Rails: 1.1.4 and 1.2.3
OS: WinXP

I’ve installed both Ferret and the plugin using Ruby Gems:

C:>gem install ferret
Successfully installed ferret-0.11.4-mswin32
Installing ri documentation for ferret-0.11.4-mswin32…
Installing RDoc documentation for ferret-0.11.4-mswin32…

C:>gem install acts_as_ferret
Successfully installed acts_as_ferret-0.4.0

When I try to use/reference Ferret, I get error messages like the
following:

– Require ferret fails
irb(main):001:0> require ‘ferret’
LoadError: 127: The specified procedure could not be found. -
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.4-mswin32/ext/ferret_ext.so
from
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.4-mswin32/ext/ferret_ext.so
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' from c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.4-mswin32/lib/ferret.rb:25 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:inrequire’
from (irb):1

– Require ‘acts_as_ferret’ fails
irb(main):001:0> require ‘acts_as_ferret’
LoadError: 127: The specified procedure could not be found. -
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.4-mswin32/ext/ferret_ext.so
from
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.4-mswin32/ext/ferret_ext.so
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:inrequire’
from
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.4-mswin32/lib/ferret.rb:25
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in
require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:inrequire’
from
c:/ruby/lib/ruby/gems/1.8/gems/acts_as_ferret-0.4.0/lib/acts_as_ferret.rb:24
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in
`require’
from (irb):1

I also tried installing the plugin into my app:

ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret

I added “require ‘acts_as_ferret’” to my environement.rb file, and my
Mongrel server fails on startup with the following Windows dialog:

“The procedure entry point rb_w32_write could not be located in the
dynamic link library msvcrt-ruby18.dll”

Googling this error turned up just one other unlucky soul, but I could
not find a solution. Any suggestions?

Thanks.
-B. Ridout

I still have not resolved the problem with (ferret 0.11.4 (mswin32)),
but I did try going to the previous Win32 release.

Successfully installed ferret-0.10.9-mswin32
irb(main):001:0> require ‘ferret’
=> true

When I do this, everything works fine. Is 0.11.4 not a stable release?
I’ve seen messages about problems on the Mac OS as well.

-Ben Ridout

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs