# Installing Ferret + acts\_as\_ferret on Windows Vista

**URL:** <https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893>\
**Category:** Ferret\
**Created:** [May 17, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893 "2008-05-17T20:40:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![egorbrandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@egorbrandt](https://www.ruby-forum.com/u/egorbrandt)\
**Post date:** [May 17, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893/1 "2008-05-17T20:40:46Z")

</div>

Hello to you all,

I’m on Vista, with Ruby 1.8.6 and Rails 2.0.2. Trying to have the search  
engine working in my railsproject has lead to problems

1. first, I did \> gem install ferret  
Successfully installed ferret-0.9.6  
1 gem installed

2. secondly, I installed acts\_as\_ferret via script/plugin

3. when i run the WEBrick server, however, I get this error message:  
/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_require’: no such file to load – ferret\_ext (MissingSou  
rceFile)

Have you any idea what I’m doing wrong? I’d love to hear that from you.

Thanks in advance

egorbrandt

---

<div class="post-metadata">

**Author:** ![egorbrandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@egorbrandt](https://www.ruby-forum.com/u/egorbrandt)\
**Post date:** [June 12, 2008, 3:05am UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893/2 "2008-06-12T03:05:05Z")

</div>

Hi,

I’m running ferret on Vista also, but I’m at version 0.11.5 - maybe your  
problem is because of an older gem?

try doing a “gem install ferret -v 0.11.5” at the command prompt

also, acts\_as\_ferret is also available as a gem, maybe try that instead  
of plugin if the above doesn’t work

---

<div class="post-metadata">

**Author:** ![egorbrandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@egorbrandt](https://www.ruby-forum.com/u/egorbrandt)\
**Post date:** [June 13, 2008, 10:23am UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893/3 "2008-06-13T10:23:16Z")

</div>

Adam Hill wrote:

> Hi,
> 
> I’m running ferret on Vista also, but I’m at version 0.11.5 - maybe your  
> problem is because of an older gem?
> 
> try doing a “gem install ferret -v 0.11.5” at the command prompt
> 
> also, acts\_as\_ferret is also available as a gem, maybe try that instead  
> of plugin if the above doesn’t work

thanks for your suggestion, Adam!

---

<div class="post-metadata">

**Author:** ![egorbrandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@egorbrandt](https://www.ruby-forum.com/u/egorbrandt)\
**Post date:** [July 21, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893/4 "2008-07-21T18:20:22Z")

</div>

Hi,

I’ve got a similiar situation as the creator of this thread. I’m Windows  
XP and have Ruby 1.8.6 and Rails 2.1.0. Earlier when I had Rails 2.0.2,  
there were no problems with the environment. Afert updgrading the  
environment WEBrick doesn’t start anymore and gives me “no such file to  
load – ferret\_ext” error.

I’ve tried installing acts\_as\_ferret as gem and plugin - both without a  
successful result. Updating ferret to the latest version 0.11.5 didn’t  
help either. When I run a ferret test, I get message that “ferret  
works”.

– ferret\_test.rb –  
require ‘rubygems’  
require ‘ferret’  
include Ferret  
puts “ferret works!”

I’ve searched already elsewhere, but didn’t find any working solutions  
yet.  
Anyone has ideas, what could be the reason?

---

<div class="post-metadata">

**Author:** ![egorbrandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@egorbrandt](https://www.ruby-forum.com/u/egorbrandt)\
**Post date:** [December 1, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893/5 "2008-12-01T23:18:31Z")

</div>

Egorbrandt Egorbrandt wrote:

> problem solved, for those poor Windows users like me:
> 
> 1. gem install ferret -v=0.11.5 --platform mswin32
> 2. gem install acts\_as\_ferret
> 3. add “require ‘acts\_as\_ferret’” in config/environment.rb
> 4. from C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext  
> copy/paste ferret\_ext.so to  
> C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\lib
> 
> it works! (for me, and for now…)

Thanks a bunch from some other poor Windows user, worked just fine for  
me on WinXP.

Jens

---

<div class="post-metadata">

**Author:** ![egorbrandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/278dde/32.png) [@egorbrandt](https://www.ruby-forum.com/u/egorbrandt)\
**Post date:** [September 19, 2008, 10:57am UTC](https://www.ruby-forum.com/t/installing-ferret-acts-as-ferret-on-windows-vista/137893/6 "2008-09-19T10:57:20Z")

</div>

Egorbrandt Egorbrandt wrote:

> Hello to you all,
> 
> I’m on Vista, with Ruby 1.8.6 and Rails 2.0.2. Trying to have the search  
> engine working in my railsproject has lead to problems
> 
> 1. first, I did \> gem install ferret  
> Successfully installed ferret-0.9.6  
> 1 gem installed
> 
> 2. secondly, I installed acts\_as\_ferret via script/plugin
> 
> 3. when i run the WEBrick server, however, I get this error message:  
> /ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
> `gem\_original\_require’: no such file to load – ferret\_ext (MissingSou  
> rceFile)
> 
> Have you any idea what I’m doing wrong? I’d love to hear that from you.
> 
> Thanks in advance
> 
> egorbrandt

problem solved, for those poor Windows users like me:

1. gem install ferret -v=0.11.5 --platform mswin32
2. gem install acts\_as\_ferret
3. add “require ‘acts\_as\_ferret’” in config/environment.rb
4. from C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\ext  
copy/paste ferret\_ext.so to  
C:\ruby\lib\ruby\gems\1.8\gems\ferret-0.11.5-x86-mswin32\lib

it works! (for me, and for now…)
