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:in
`require'
        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: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:in
`require'
        from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
        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

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to