Ferret problem

I stuck in search element problem. I am trying to install ferret on my
window 7. But tried a lot but couldn’t succeed.

I ran following command to install the ferret gem.

gem install ferret
gem install ferret --version (all versions)
gem install ferret -v 0.11.5
gem install ferret -v 0.11.6
gem install ferret -v 0.11.8.4
gem install ferret -v=0.11.6 --platform mswin32

I also changed the devkit, got a updated kit and change requisite path
in fstub

But couldn’t succeed. Always it gives me following error
ERROR: Error installing ferret:
ERROR: Failed to build gem native extension.

    c:/RailsInstaller/Ruby1.9.2/bin/ruby.exe extconf.rb

creating Makefile

make
c:/RailsInstaller/Ruby1.9.2/bin/ruby -e “puts ‘EXPORTS’,
‘Init_ferret_ext’” > f
erret_ext-i386-mingw32.def
.
.
.
.
.
.
ferret.c:297:22: error: ‘struct RString’ has no member named ‘len’
make: *** [ferret.o] Error 1

Gem files will remain installed in
c:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9
.1/gems/ferret-0.11.6 for inspection.
Results logged to
c:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/ferret-0.
11.6/ext/gem_make.out

Please help me.

Any help or suggestion is appreciable.

Thanks
Amir

Hey Amir

Have you tried the solutions on this thread:

http://www.ruby-forum.com/topic/139611

On Thu, May 24, 2012 at 4:57 PM, Amir Z. [email protected] wrote:

gem install ferret -v=0.11.6 --platform mswin32

ferret.c:297:22: error: ‘struct RString’ has no member named ‘len’
Please help me.
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

  • Aziz M. Bookwala

Website http://azizmb.in/ | Twitter https://twitter.com/azizbookwala
|
Github http://github.com/azizmb

azizmb.in wrote in post #1061961:

Hey Amir

Have you tried the solutions on this thread:

Ferret Gem Installation on Windows - Rails - Ruby-Forum

  • Aziz M. Bookwala

Dear Br. Aziz

Thanks for your suggestion. Br I also go through this link but couldn’t
succeed.

There is one query regarding the thread. If i download ferret 0.11.5
mswin32 then where i have to keep this file?

rest of the things i did but there is no win.

Thanks
Amir