# Problem with ferret & acts\_as\_ferret on Window XP

**URL:** <https://www.ruby-forum.com/t/problem-with-ferret-acts-as-ferret-on-window-xp/144189>\
**Category:** Ferret\
**Created:** [July 26, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/problem-with-ferret-acts-as-ferret-on-window-xp/144189 "2008-07-26T12:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chinch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/9de0a6/32.png) [@chinch](https://www.ruby-forum.com/u/chinch)\
**Post date:** [July 26, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/problem-with-ferret-acts-as-ferret-on-window-xp/144189/1 "2008-07-26T12:47:22Z")

</div>

Platform ï¼šwindows xp  
ferret : gem install ferret -v=0.11.5 --platform mswin32  
acts\_as\_ferret ï¼š gem install acts\_as\_ferret (version 0.4.3)  
ruby version 1.8.6  
rails version 2.1

all installations went with no error

add “require ‘acts\_as\_ferret’” in environment.rb

problem when booting WEBrick:  
c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_require’: no such file to load – ferret\_ext  
(MissingSourceFile)

i found ferret\_ext.so under the dir  
“C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext”

can’t find any useful solution by google

anyone can tell me y? Thanks!

BTW: i have no c compiler on XP, do i need one when installing ferret?

---

<div class="post-metadata">

**Author:** ![chinch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/9de0a6/32.png) [@chinch](https://www.ruby-forum.com/u/chinch)\
**Post date:** [July 26, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/problem-with-ferret-acts-as-ferret-on-window-xp/144189/2 "2008-07-26T17:07:06Z")

</div>

i copy the file ferret\_ext.so to the folder  
“C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\lib”  
which ferret.rb is also in, and the WEBrick server start correctly…  
so weirdï¼Œ  
it seems this line  
“$: \<\< File.expand\_path(File.join(File.dirname( **FILE** ), “…/ext”))”  
in ferret.rb is useless.

Hanguo Luo wrote:

> Platform ï¼šwindows xp  
> ferret : gem install ferret -v=0.11.5 --platform mswin32  
> acts\_as\_ferret ï¼š gem install acts\_as\_ferret (version 0.4.3)  
> ruby version 1.8.6  
> rails version 2.1
> 
> all installations went with no error
> 
> add “require ‘acts\_as\_ferret’” in environment.rb
> 
> problem when booting WEBrick:  
> c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
> `gem\_original\_require’: no such file to load – ferret\_ext  
> (MissingSourceFile)
> 
> i found ferret\_ext.so under the dir  
> “C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext”
> 
> can’t find any useful solution by google
> 
> anyone can tell me y? Thanks!
> 
> BTW: i have no c compiler on XP, do i need one when installing ferret?
